mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-10-22 14:01:20 +00:00
Update zigbee-herdsman-converters to 14.0.58 (#6305)
* Update zigbee-herdsman-converters to 14.0.58 * Update availability.test.js Co-authored-by: Koenkk <Koenkk@users.noreply.github.com> Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
This commit is contained in:
3 files changed
+5
-7
No files matched your search
Generated
+3
-3
@@ -14554,9 +14554,9 @@
|
||||
}
|
||||
},
|
||||
"zigbee-herdsman-converters": {
|
||||
"version": "14.0.57",
|
||||
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-14.0.57.tgz",
|
||||
"integrity": "sha512-7JlDhsXtLs0ODFHYmeDBq2KwPjsbrPnJ6B4XRpwwip2+wiRTApcCzBYiFetUXYZOR4XEt1ykVbp83XU7y3JVrg==",
|
||||
"version": "14.0.58",
|
||||
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-14.0.58.tgz",
|
||||
"integrity": "sha512-opsHfDMMa1oPSFU63kR9oSvd7DdJST/tc6we4afgvtqnvuhnhjgS+UnZU4qAX21OqSxLzTvv3tddpKoxlB5deQ==",
|
||||
"requires": {
|
||||
"axios": "^0.21.1",
|
||||
"buffer-crc32": "^0.2.13",
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@
|
||||
"winston-syslog": "^2.4.4",
|
||||
"ws": "^7.3.1",
|
||||
"zigbee-herdsman": "0.13.71",
|
||||
"zigbee-herdsman-converters": "14.0.57",
|
||||
"zigbee-herdsman-converters": "14.0.58",
|
||||
"zigbee2mqtt-frontend": "0.3.54"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -172,11 +172,9 @@ describe('Availability', () => {
|
||||
endpoint.read.mockClear();
|
||||
await zigbeeHerdsman.events.deviceAnnounce({device});
|
||||
await flushPromises();
|
||||
expect(endpoint.read).toHaveBeenCalledTimes(4);
|
||||
expect(endpoint.read).toHaveBeenCalledTimes(2);
|
||||
expect(endpoint.read).toHaveBeenCalledWith('genLevelCtrl', ['currentLevel']);
|
||||
expect(endpoint.read).toHaveBeenCalledWith('genOnOff', ['onOff']);
|
||||
expect(endpoint.read).toHaveBeenCalledWith('lightingColorCtrl', ['currentX', 'currentY', 'currentHue', 'currentSaturation']);
|
||||
expect(endpoint.read).toHaveBeenCalledWith('lightingColorCtrl', ['colorTemperature']);
|
||||
});
|
||||
|
||||
it('Should not retrieve the state when device is turned on/off within availability timeout on deviceJoined', async () => {
|
||||
|
||||
Reference in new issue
Block a user