From 8eb1a986fddc21358d57039d8cfce646650fa073 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 15 Feb 2021 20:12:51 +0100 Subject: [PATCH] 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 Co-authored-by: Koen Kanters --- npm-shrinkwrap.json | 6 +++--- package.json | 2 +- test/availability.test.js | 4 +--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 560908c35..8e386dae9 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -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", diff --git a/package.json b/package.json index 78ac80125..4eb7614eb 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/test/availability.test.js b/test/availability.test.js index bfe757add..23e3acc32 100644 --- a/test/availability.test.js +++ b/test/availability.test.js @@ -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 () => {