Skip to content

Commit

Permalink
fix(ignore): update zigbee-herdsman-converters to 23.1.0 (#26509)
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk authored Feb 25, 2025
1 parent d2166f2 commit db7b51a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"winston-transport": "^4.9.0",
"ws": "^8.18.1",
"zigbee-herdsman": "3.2.7",
"zigbee-herdsman-converters": "23.0.0",
"zigbee-herdsman-converters": "23.1.0",
"zigbee2mqtt-frontend": "0.9.4"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions test/extensions/groups.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {devices, groups, events as mockZHEvents, resetGroupMembers, returnDevice

import stringify from 'json-stable-stringify-without-jsonify';

import {toZigbee as zhcToZigbee} from 'zigbee-herdsman-converters';
import * as zhcGlobalStore from 'zigbee-herdsman-converters/lib/store';

import {Controller} from '../../lib/controller';
import * as settings from '../../lib/util/settings';
Expand Down Expand Up @@ -42,7 +42,7 @@ describe('Extension: Groups', () => {
settings.reRead();
mockMQTTPublishAsync.mockClear();
groups.gledopto_group.command.mockClear();
zhcToZigbee.__clearStore__();
zhcGlobalStore.clear();
// @ts-expect-error private
controller.state.state = {};
});
Expand Down
6 changes: 3 additions & 3 deletions test/extensions/publish.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {devices, groups, events as mockZHEvents} from '../mocks/zigbeeHerdsman';

import stringify from 'json-stable-stringify-without-jsonify';

import {toZigbee} from 'zigbee-herdsman-converters';
import * as zhcGlobalStore from 'zigbee-herdsman-converters/lib/store';

import {Controller} from '../../lib/controller';
import {loadTopicGetSetRegex} from '../../lib/extension/publish';
Expand Down Expand Up @@ -58,7 +58,7 @@ describe('Extension: Publish', () => {
g.command.mockClear();
});

toZigbee.__clearStore__();
zhcGlobalStore.clear();
});

afterAll(async () => {
Expand Down Expand Up @@ -1511,7 +1511,7 @@ describe('Extension: Publish', () => {
await mockMQTTEvents.message('zigbee2mqtt/bulb_color/set', stringify({state: 'ON', brightness: 20, transition: 0.0}));
await flushPromises();

toZigbee.__clearStore__();
zhcGlobalStore.clear();

await mockMQTTEvents.message('zigbee2mqtt/bulb_color/set', stringify({state: 'ON', transition: 1.0}));
await flushPromises();
Expand Down

0 comments on commit db7b51a

Please sign in to comment.