mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-15 09:58:45 -07:00
fix(ignore): update zigbee-herdsman-converters to 20.19.0 (#24130)
* fix(ignore): update zigbee-herdsman-converters to 20.19.0 * fix tests
This commit is contained in:
parent
15d845bf92
commit
8fe76e090f
8
package-lock.json
generated
8
package-lock.json
generated
@ -33,7 +33,7 @@
|
|||||||
"winston-transport": "^4.7.1",
|
"winston-transport": "^4.7.1",
|
||||||
"ws": "^8.18.0",
|
"ws": "^8.18.0",
|
||||||
"zigbee-herdsman": "2.1.1",
|
"zigbee-herdsman": "2.1.1",
|
||||||
"zigbee-herdsman-converters": "20.18.0",
|
"zigbee-herdsman-converters": "20.19.0",
|
||||||
"zigbee2mqtt-frontend": "0.7.4"
|
"zigbee2mqtt-frontend": "0.7.4"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
@ -10374,9 +10374,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/zigbee-herdsman-converters": {
|
"node_modules/zigbee-herdsman-converters": {
|
||||||
"version": "20.18.0",
|
"version": "20.19.0",
|
||||||
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-20.18.0.tgz",
|
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-20.19.0.tgz",
|
||||||
"integrity": "sha512-MyTS4gk6BrEJBA9BTzMq3VRJaEcjM+uRF8hAfF44wjD+vxjRo3nILaKMVG++voVQfp3V5TpJNLIMjDZwk2DwOg==",
|
"integrity": "sha512-zbUBDRkg+CGUQo48BRbUOeHw2JRKCLzbz1Yi9R4wUmF3ZCqhvYzEzqaB6qJjbf/dEdzuy9PIoZbr2fD7JrGdwg==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^1.7.7",
|
"axios": "^1.7.7",
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
"winston-transport": "^4.7.1",
|
"winston-transport": "^4.7.1",
|
||||||
"ws": "^8.18.0",
|
"ws": "^8.18.0",
|
||||||
"zigbee-herdsman": "2.1.1",
|
"zigbee-herdsman": "2.1.1",
|
||||||
"zigbee-herdsman-converters": "20.18.0",
|
"zigbee-herdsman-converters": "20.19.0",
|
||||||
"zigbee2mqtt-frontend": "0.7.4"
|
"zigbee2mqtt-frontend": "0.7.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -1922,19 +1922,19 @@ describe('HomeAssistant extension', () => {
|
|||||||
await flushPromises();
|
await flushPromises();
|
||||||
expect(MQTT.publish).toHaveBeenCalledWith(
|
expect(MQTT.publish).toHaveBeenCalledWith(
|
||||||
'zigbee2mqtt/U202DST600ZB',
|
'zigbee2mqtt/U202DST600ZB',
|
||||||
stringify({state_l2: 'ON', brightness_l2: 20, linkquality: null, state_l1: null, power_on_behavior: null}),
|
stringify({state_l2: 'ON', brightness_l2: 20, linkquality: null, state_l1: null, power_on_behavior_l1: null, power_on_behavior_l2: null}),
|
||||||
{qos: 0, retain: false},
|
{qos: 0, retain: false},
|
||||||
expect.any(Function),
|
expect.any(Function),
|
||||||
);
|
);
|
||||||
expect(MQTT.publish).toHaveBeenCalledWith(
|
expect(MQTT.publish).toHaveBeenCalledWith(
|
||||||
'zigbee2mqtt/U202DST600ZB/l2',
|
'zigbee2mqtt/U202DST600ZB/l2',
|
||||||
stringify({state: 'ON', brightness: 20}),
|
stringify({state: 'ON', brightness: 20, power_on_behavior: null}),
|
||||||
{qos: 0, retain: false},
|
{qos: 0, retain: false},
|
||||||
expect.any(Function),
|
expect.any(Function),
|
||||||
);
|
);
|
||||||
expect(MQTT.publish).toHaveBeenCalledWith(
|
expect(MQTT.publish).toHaveBeenCalledWith(
|
||||||
'zigbee2mqtt/U202DST600ZB/l1',
|
'zigbee2mqtt/U202DST600ZB/l1',
|
||||||
stringify({state: null}),
|
stringify({state: null, power_on_behavior: null}),
|
||||||
{qos: 0, retain: false},
|
{qos: 0, retain: false},
|
||||||
expect.any(Function),
|
expect.any(Function),
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user