mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-28 05:24:29 +00:00
Update zigbee-herdsman-converters to 12.0.167 (#4144)
* Update zigbee-herdsman-converters to 12.0.167 * Update homeassistant.js * Update publish.test.js * Update publish.test.js Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
This commit is contained in:
co-authored by
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Koen Kanters
parent
0b5d169b46
commit
bffe4db029
@@ -1889,6 +1889,9 @@ const mapping = {
|
||||
'TS0215A': [cfg.sensor_battery, cfg.sensor_action],
|
||||
'4713406': [cfg.light_brightness],
|
||||
'3216131P6': [cfg.light_brightness_colortemp],
|
||||
'GWA1521': [cfg.switch],
|
||||
'GWA1522': [switchEndpoint('l1'), switchEndpoint('l2')],
|
||||
'GWA1531': [cfg.cover_position],
|
||||
};
|
||||
|
||||
const defaultStatusTopic = 'homeassistant/status';
|
||||
|
||||
Generated
+3
-3
@@ -15025,9 +15025,9 @@
|
||||
}
|
||||
},
|
||||
"zigbee-herdsman-converters": {
|
||||
"version": "12.0.166",
|
||||
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-12.0.166.tgz",
|
||||
"integrity": "sha512-kloe52UgTmXyakCJHV00UrNT4TV+cXzD4S2OIG5WWGUMxyNSk0vUwnM1nwK2gyTt5dzdMIbQ6QT+JdeJYnsJBg==",
|
||||
"version": "12.0.167",
|
||||
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-12.0.167.tgz",
|
||||
"integrity": "sha512-/S1cdbvnOAy/CfeHYHbLhrRaMSVsKli51ViRz64LSB/hjZFpaeFVrOO/hwJ78jF+xCPbUHFlJbuW0344JYGzgw==",
|
||||
"requires": {
|
||||
"axios": "^0.19.2",
|
||||
"https-proxy-agent": "^5.0.0",
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@
|
||||
"winston": "^3.3.3",
|
||||
"winston-syslog": "^2.4.4",
|
||||
"zigbee-herdsman": "0.12.119",
|
||||
"zigbee-herdsman-converters": "12.0.166"
|
||||
"zigbee-herdsman-converters": "12.0.167"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "*",
|
||||
|
||||
@@ -896,7 +896,7 @@ describe('Publish', () => {
|
||||
await zigbeeHerdsman.events.message({data: {currentLevel: 1}, cluster: 'genLevelCtrl', device, endpoint, type: 'attributeReport', linkquality: 10});
|
||||
await flushPromises();
|
||||
expect(MQTT.publish).toHaveBeenCalledTimes(2);
|
||||
expect(MQTT.publish.mock.calls[1]).toEqual(["zigbee2mqtt/bulb_color", stringify({state: 'OFF', brightness: 1, linkquality: 10}), {"qos": 0, "retain": false}, expect.any(Function)]);
|
||||
expect(MQTT.publish.mock.calls[1]).toEqual(["zigbee2mqtt/bulb_color", stringify({state: 'OFF', brightness: 0, linkquality: 10}), {"qos": 0, "retain": false}, expect.any(Function)]);
|
||||
|
||||
// Turn on again
|
||||
await MQTT.events.message('zigbee2mqtt/bulb_color/set', stringify({state: 'ON', transition: 3}));
|
||||
|
||||
Reference in New Issue
Block a user