fix(ignore): update zigbee-herdsman-converters to 23.1.0 (#26509)

This commit is contained in:
Koen Kanters
2025-02-25 21:32:49 +00:00
committed by GitHub
parent d2166f2f4f
commit db7b51ac80
4 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -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';
@@ -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 = {};
});
+3 -3
View File
@@ -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';
@@ -58,7 +58,7 @@ describe('Extension: Publish', () => {
g.command.mockClear();
});
toZigbee.__clearStore__();
zhcGlobalStore.clear();
});
afterAll(async () => {
@@ -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();