Skip to content

Commit

Permalink
fix(ignore): update zigbee-herdsman-converters to 20.19.0 (#24130)
Browse files Browse the repository at this point in the history
* fix(ignore): update zigbee-herdsman-converters to 20.19.0

* fix tests
  • Loading branch information
Koenkk authored Sep 28, 2024
1 parent 15d845b commit 8fe76e0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"winston-transport": "^4.7.1",
"ws": "^8.18.0",
"zigbee-herdsman": "2.1.1",
"zigbee-herdsman-converters": "20.18.0",
"zigbee-herdsman-converters": "20.19.0",
"zigbee2mqtt-frontend": "0.7.4"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions test/homeassistant.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1922,19 +1922,19 @@ describe('HomeAssistant extension', () => {
await flushPromises();
expect(MQTT.publish).toHaveBeenCalledWith(
'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},
expect.any(Function),
);
expect(MQTT.publish).toHaveBeenCalledWith(
'zigbee2mqtt/U202DST600ZB/l2',
stringify({state: 'ON', brightness: 20}),
stringify({state: 'ON', brightness: 20, power_on_behavior: null}),
{qos: 0, retain: false},
expect.any(Function),
);
expect(MQTT.publish).toHaveBeenCalledWith(
'zigbee2mqtt/U202DST600ZB/l1',
stringify({state: null}),
stringify({state: null, power_on_behavior: null}),
{qos: 0, retain: false},
expect.any(Function),
);
Expand Down

0 comments on commit 8fe76e0

Please sign in to comment.