Skip to content

Commit

Permalink
fix(ignore): Zigbee spec revamp (#7488)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerivec committed May 12, 2024
1 parent c385d3f commit 162f3cd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/lib/generateDefinition.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Cluster} from 'zigbee-herdsman/dist/zcl/tstype';
import {Cluster} from 'zigbee-herdsman/dist/zspec/zcl/definition/tstype';

Check failure on line 1 in src/lib/generateDefinition.ts

View workflow job for this annotation

GitHub Actions / ci

Cannot find module 'zigbee-herdsman/dist/zspec/zcl/definition/tstype' or its corresponding type declarations.
import {Definition, ModernExtend, Zh} from './types';
import {getClusterAttributeValue} from './utils';
import * as m from './modernExtend';
Expand Down
2 changes: 1 addition & 1 deletion src/lib/modernExtend.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {Zcl} from 'zigbee-herdsman';
import {ClusterDefinition} from 'zigbee-herdsman/dist/zcl/definition/tstype';
import {ClusterDefinition} from 'zigbee-herdsman/dist/zspec/zcl/definition/tstype';

Check failure on line 2 in src/lib/modernExtend.ts

View workflow job for this annotation

GitHub Actions / ci

Cannot find module 'zigbee-herdsman/dist/zspec/zcl/definition/tstype' or its corresponding type declarations.
import tz from '../converters/toZigbee';
import fz from '../converters/fromZigbee';
import * as globalLegacy from '../lib/legacy';
Expand Down
6 changes: 2 additions & 4 deletions src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ import type {
Endpoint as ZHEndpoint,
Group as ZHGroup,
} from 'zigbee-herdsman/dist/controller/model';
import type {
FrameControl,
ZclHeader as ZHZclHeader,
} from 'zigbee-herdsman/dist/zcl';
import type {FrameControl} from 'zigbee-herdsman/dist/zspec/zcl/definition/tstype';

Check failure on line 8 in src/lib/types.ts

View workflow job for this annotation

GitHub Actions / ci

Cannot find module 'zigbee-herdsman/dist/zspec/zcl/definition/tstype' or its corresponding type declarations.
import type {Header as ZHZclHeader} from 'zigbee-herdsman/dist/zspec/zcl';

Check failure on line 9 in src/lib/types.ts

View workflow job for this annotation

GitHub Actions / ci

Cannot find module 'zigbee-herdsman/dist/zspec/zcl' or its corresponding type declarations.

import * as exposes from './exposes';

Expand Down
2 changes: 1 addition & 1 deletion test/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as utils from '../src/lib/utils';
import {Zh, DefinitionMeta, Fz, Definition} from '../src/lib/types';
import tz from '../src/converters/toZigbee';
import { Device } from 'zigbee-herdsman/dist/controller/model';
import {Clusters} from 'zigbee-herdsman/dist/zcl'
import {Clusters} from 'zigbee-herdsman/dist/zspec/zcl/definition/cluster';

interface MockEndpointArgs {ID?: number, inputClusters?: string[], outputClusters?: string[], attributes?: {[s: string]: {[s: string]: unknown}}}

Expand Down

0 comments on commit 162f3cd

Please sign in to comment.