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:
authored and GitHub committed 2021-02-15 20:12:51 +01:00
1 parent 0b66e84295
commit 8eb1a986fd
3 files changed
+5 -7

No files matched your search

+3 -3
View File
@@ -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
View File
@@ -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": {
+1 -3
View File
@@ -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 () => {