mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-17 10:58:31 -07:00
HGZB-44 HomeAssistant Autodiscovery support (#3775)
* Add homeassistant autodiscovery support for HGZB-44. * Fix missing , at end of line * Update homeassistant.js Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
This commit is contained in:
parent
76745ca5c3
commit
1dd002e73f
@ -1076,6 +1076,10 @@ const mapping = {
|
|||||||
'9290018195': [cfg.light_brightness],
|
'9290018195': [cfg.light_brightness],
|
||||||
'HGZB-04D / HGZB-4D-UK': [cfg.light_brightness],
|
'HGZB-04D / HGZB-4D-UK': [cfg.light_brightness],
|
||||||
'HGZB-043': [switchEndpoint('top'), switchEndpoint('bottom'), switchEndpoint('center')],
|
'HGZB-043': [switchEndpoint('top'), switchEndpoint('bottom'), switchEndpoint('center')],
|
||||||
|
'HGZB-44': [
|
||||||
|
switchEndpoint('top_left'), switchEndpoint('top_right'), switchEndpoint('bottom_left'),
|
||||||
|
switchEndpoint('bottom_right'),
|
||||||
|
],
|
||||||
'NCZ-3043-HA': [
|
'NCZ-3043-HA': [
|
||||||
cfg.binary_sensor_occupancy, cfg.sensor_temperature,
|
cfg.binary_sensor_occupancy, cfg.sensor_temperature,
|
||||||
cfg.sensor_battery, cfg.binary_sensor_battery_low,
|
cfg.sensor_battery, cfg.binary_sensor_battery_low,
|
||||||
|
Loading…
Reference in New Issue
Block a user