mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-10-23 14:22:38 +00:00
Update zigbee-herdsman-converters to 19.45.0 (#22814)
* fix(ignore): update zigbee-herdsman-converters to 19.45.0 * fix tests --------- Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
This commit is contained in:
1 parent
b6ad6418a1
commit
f9b0fff185
4 files changed
+8
-7
No files matched your search
Generated
+4
-4
@@ -33,7 +33,7 @@
|
||||
"winston-transport": "^4.7.0",
|
||||
"ws": "^8.17.0",
|
||||
"zigbee-herdsman": "0.49.1",
|
||||
"zigbee-herdsman-converters": "19.44.0",
|
||||
"zigbee-herdsman-converters": "19.45.0",
|
||||
"zigbee2mqtt-frontend": "0.7.0"
|
||||
},
|
||||
"bin": {
|
||||
@@ -9651,9 +9651,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/zigbee-herdsman-converters": {
|
||||
"version": "19.44.0",
|
||||
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-19.44.0.tgz",
|
||||
"integrity": "sha512-IgRWGgcrZasn7RXXNr08A+biTZ0h9fdA1wGQ/GOFPT2P59EvMXyw79SS8mvuzliHIS+qR4OFQb6VRKKLIKHUZA==",
|
||||
"version": "19.45.0",
|
||||
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-19.45.0.tgz",
|
||||
"integrity": "sha512-RaKpDkIqKg/XyAvqG3o2wNpcvbJksZCVKlCUi15Y7uMFxLcEQwM6e6tXGvmA+SHnm2RWJU9avSFXu3DMkC+h4Q==",
|
||||
"dependencies": {
|
||||
"axios": "^1.6.8",
|
||||
"buffer-crc32": "^1.0.0",
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@
|
||||
"winston-transport": "^4.7.0",
|
||||
"ws": "^8.17.0",
|
||||
"zigbee-herdsman": "0.49.1",
|
||||
"zigbee-herdsman-converters": "19.44.0",
|
||||
"zigbee-herdsman-converters": "19.45.0",
|
||||
"zigbee2mqtt-frontend": "0.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -2579,7 +2579,7 @@ describe('HomeAssistant extension', () => {
|
||||
MQTT.publish.mockClear();
|
||||
const device = zigbeeHerdsman.devices['BMCT-SLZ'];
|
||||
const data = {deviceMode: 0}
|
||||
const msg = {data, cluster: 'manuSpecificBosch10', device, endpoint: device.getEndpoint(1), type: 'attributeReport', linkquality: 10};
|
||||
const msg = {data, cluster: 'boschSpecific', device, endpoint: device.getEndpoint(1), type: 'attributeReport', linkquality: 10};
|
||||
resetDiscoveryPayloads('0x18fc26000000cafe');
|
||||
await zigbeeHerdsman.events.message(msg);
|
||||
const payload = {
|
||||
|
||||
@@ -467,10 +467,11 @@ describe('Receive', () => {
|
||||
expect(MQTT.publish.mock.calls[0][0]).toStrictEqual('zigbee2mqtt/SP600_OLD');
|
||||
expect(JSON.parse(MQTT.publish.mock.calls[0][1])).toStrictEqual({energy: 6.65, power: 496});
|
||||
});
|
||||
|
||||
it('Should emit DevicesChanged event when a converter announces changed exposes', async () => {
|
||||
const device = zigbeeHerdsman.devices['BMCT-SLZ'];
|
||||
const data = {deviceMode: 0}
|
||||
const payload = {data, cluster: 'manuSpecificBosch10', device, endpoint: device.getEndpoint(1), type: 'attributeReport', linkquality: 10};
|
||||
const payload = {data, cluster: 'boschSpecific', device, endpoint: device.getEndpoint(1), type: 'attributeReport', linkquality: 10};
|
||||
await zigbeeHerdsman.events.message(payload);
|
||||
expect(MQTT.publish.mock.calls[0][0]).toStrictEqual("zigbee2mqtt/bridge/devices");
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user