diff --git a/lib/extension/homeassistant.js b/lib/extension/homeassistant.js index ab795439..5bfd968d 100644 --- a/lib/extension/homeassistant.js +++ b/lib/extension/homeassistant.js @@ -1646,12 +1646,9 @@ const mapping = { 'AU-A1GSZ9RGBW': [cfg.light_brightness_colortemp_colorxy], 'RF 261': [cfg.light_brightness], 'RF 264': [cfg.light_brightness], - 'HY369RT': [ - cfg.lock_child_lock, - cfg.switch_window_detection, - cfg.switch_valve_detection, + 'TS0601_thermostat': [ + cfg.lock_child_lock, cfg.switch_window_detection, cfg.switch_valve_detection, cfg.sensor_battery, thermostat(5, 30, 'current_heating_setpoint', 0.5), - cfg.sensor_battery, ], 'WXKG07LM': [cfg.sensor_action, cfg.sensor_battery], 'MCLH-03': [cfg.switch, cfg.sensor_voltage, cfg.sensor_power, cfg.sensor_current], @@ -1775,6 +1772,7 @@ const mapping = { switchEndpoint('l5'), ], 'WL4200': [cfg.binary_sensor_water_leak, cfg.binary_sensor_battery_low], + '404031': [cfg.light_brightness_colortemp], }; /** diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 5524b198..9d8810b1 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -316,16 +316,6 @@ "@babel/helper-plugin-utils": "^7.8.0" } }, - "@babel/runtime-corejs3": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.10.4.tgz", - "integrity": "sha512-BFlgP2SoLO9HJX9WBwN67gHWMBhDX/eDz64Jajd6mR/UAUzqrNMm99d4qHnVaKscAElZoFiPv+JpR/Siud5lXw==", - "dev": true, - "requires": { - "core-js-pure": "^3.0.0", - "regenerator-runtime": "^0.13.4" - } - }, "@babel/template": { "version": "7.10.4", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.10.4.tgz", @@ -1479,12 +1469,6 @@ "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", "dev": true }, - "core-js-pure": { - "version": "3.6.5", - "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.6.5.tgz", - "integrity": "sha512-lacdXOimsiD0QyNf9BC/mxivNJ/ybBGJXQFKzRekp1WTHoVUWsUHEn+2T8GJAzzIhyOuXA+gOxCVN3l+5PLPUA==", - "dev": true - }, "core-util-is": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", @@ -1567,13 +1551,10 @@ } }, "decamelize": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-3.2.0.tgz", - "integrity": "sha512-4TgkVUsmmu7oCSyGBm5FvfMoACuoh9EOidm7V5/J2X2djAwwt57qb3F2KMP2ITqODTCSwb+YRV+0Zqrv18k/hw==", - "dev": true, - "requires": { - "xregexp": "^4.2.4" - } + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "dev": true }, "decimal.js": { "version": "10.2.0", @@ -4439,12 +4420,6 @@ "util-deprecate": "~1.0.1" } }, - "regenerator-runtime": { - "version": "0.13.5", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz", - "integrity": "sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA==", - "dev": true - }, "regex-not": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", @@ -5964,15 +5939,6 @@ "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", "dev": true }, - "xregexp": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/xregexp/-/xregexp-4.3.0.tgz", - "integrity": "sha512-7jXDIFXh5yJ/orPn4SXjuVrWWoi4Cr8jfV1eHv9CixKSbU+jY4mxfrBwAuDvupPNKpMUY+FeIqsVw/JLT9+B8g==", - "dev": true, - "requires": { - "@babel/runtime-corejs3": "^7.8.3" - } - }, "xtend": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", @@ -5985,13 +5951,13 @@ "dev": true }, "yargs": { - "version": "15.4.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.0.tgz", - "integrity": "sha512-D3fRFnZwLWp8jVAAhPZBsmeIHY8tTsb8ItV9KaAaopmC6wde2u6Yw29JBIZHXw14kgkRnYmDgmQU4FVMDlIsWw==", + "version": "15.4.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", + "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", "dev": true, "requires": { "cliui": "^6.0.0", - "decamelize": "^3.2.0", + "decamelize": "^1.2.0", "find-up": "^4.1.0", "get-caller-file": "^2.0.1", "require-directory": "^2.1.1", @@ -6036,14 +6002,6 @@ "requires": { "camelcase": "^5.0.0", "decamelize": "^1.2.0" - }, - "dependencies": { - "decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", - "dev": true - } } }, "zigbee-herdsman": { @@ -14132,9 +14090,9 @@ } }, "zigbee-herdsman-converters": { - "version": "12.0.129", - "resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-12.0.129.tgz", - "integrity": "sha512-t4HAmP7KHrX91bIDjCEkTK9lqx/hRWumrRxDZdTS2GhogN+8vZv92I1L7gD7iM2FI9AyfaKMPUNdh3IhJKxfOA==", + "version": "12.0.130", + "resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-12.0.130.tgz", + "integrity": "sha512-M8C4btdOgzAwxerIfHrdlXAsrSeGkbNO6CSgqtMs6N0fqi/I3slHwoHpo7PMgaX5QsUtpGMRgem6C103hE26XA==", "requires": { "axios": "*", "https-proxy-agent": "*", diff --git a/package.json b/package.json index 8293cb99..c39eb3b3 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "winston": "*", "winston-syslog": "*", "zigbee-herdsman": "0.12.101", - "zigbee-herdsman-converters": "12.0.129" + "zigbee-herdsman-converters": "12.0.130" }, "devDependencies": { "eslint": "*",