diff --git a/lib/extension/homeassistant.js b/lib/extension/homeassistant.js index 9d63f8c0..4884ddab 100644 --- a/lib/extension/homeassistant.js +++ b/lib/extension/homeassistant.js @@ -549,7 +549,7 @@ const mapping = { 'ZYCT-202': [configurations.sensor_action], 'GR-ZB01-W': [configurations.cover_position], '4090531P7': [configurations.light_brightness_colortemp_colorxy], - 'HGZB-42-UK': [configurations.switch], + 'HGZB-42-UK / HGZB-41': [configurations.switch], 'ISW-ZPR1-WP13': [ configurations.binary_sensor_occupancy, configurations.sensor_temperature, configurations.sensor_battery, configurations.binary_sensor_battery_low, @@ -558,6 +558,22 @@ const mapping = { 'HGZB-04D': [configurations.light_brightness], 'HGZB-02A': [configurations.light_brightness], 'HGZB-043': [switchWithPostfix('top'), switchWithPostfix('bottom'), switchWithPostfix('center')], + 'NCZ-3043-HA': [ + configurations.binary_sensor_occupancy, configurations.sensor_temperature, + configurations.sensor_battery, configurations.binary_sensor_battery_low, + ], + 'STS-IRM-250': [ + configurations.binary_sensor_occupancy, configurations.sensor_temperature, + configurations.sensor_battery, configurations.binary_sensor_battery_low, + ], + '3305-S': [ + configurations.binary_sensor_occupancy, configurations.sensor_temperature, + configurations.sensor_battery, configurations.binary_sensor_battery_low, + ], + '3300-S': [ + configurations.sensor_temperature, configurations.binary_sensor_contact, + configurations.sensor_battery, configurations.binary_sensor_battery_low, + ], }; Object.keys(mapping).forEach((key) => { diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index b04de15b..a6bb2cc9 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -6055,8 +6055,8 @@ } }, "zigbee-shepherd": { - "version": "git+https://github.com/Koenkk/zigbee-shepherd.git#ce12cdd9c7aa11ac9f7464839db6215d05926207", - "from": "git+https://github.com/Koenkk/zigbee-shepherd.git#ce12cdd9c7aa11ac9f7464839db6215d05926207", + "version": "git+https://github.com/Koenkk/zigbee-shepherd.git#f1f3701c20a125c939504e46c82ac4dda692ff41", + "from": "git+https://github.com/Koenkk/zigbee-shepherd.git#f1f3701c20a125c939504e46c82ac4dda692ff41", "requires": { "areq": "^0.2.0", "busyman": "^0.3.0", @@ -6072,9 +6072,9 @@ } }, "zigbee-shepherd-converters": { - "version": "7.2.6", - "resolved": "https://registry.npmjs.org/zigbee-shepherd-converters/-/zigbee-shepherd-converters-7.2.6.tgz", - "integrity": "sha512-RmalIOfI8fQu3jpAd4i14m1bP+fx48ap6lCRZUuuSYPWl4MY6W6bEhxT/MHiXWVB/mHDyIMzvMyjPCxxwpc1Jw==", + "version": "7.2.7", + "resolved": "https://registry.npmjs.org/zigbee-shepherd-converters/-/zigbee-shepherd-converters-7.2.7.tgz", + "integrity": "sha512-UV2NSPtkMCmi08ajy4tRY4RWsD+H4zLyNwQucsnZ2Ee5TuUWTmb/u6GyEcf1zWtQR+qMe/juVoJGZN6EdXH5eQ==", "requires": { "chai": "*", "debounce": "*", diff --git a/package.json b/package.json index 4d4edbeb..30002530 100644 --- a/package.json +++ b/package.json @@ -45,8 +45,8 @@ "winston": "2.4.2", "zcl-id": "git+https://github.com/Koenkk/zcl-id.git#77ba3058c6c4b09a9958761ae5e3046765c12872", "ziee": "*", - "zigbee-shepherd": "git+https://github.com/Koenkk/zigbee-shepherd.git#ce12cdd9c7aa11ac9f7464839db6215d05926207", - "zigbee-shepherd-converters": "7.2.6", + "zigbee-shepherd": "git+https://github.com/Koenkk/zigbee-shepherd.git#f1f3701c20a125c939504e46c82ac4dda692ff41", + "zigbee-shepherd-converters": "7.2.7", "zive": "*" }, "devDependencies": {