Let ubisys devices expose power consumption via Home Assistant (#2743)

This commit is contained in:
Boris Prüßmann
2020-01-15 12:58:03 +01:00
committed by Koen Kanters
parent a79b2bae81
commit 7d268732de
+4 -4
View File
@@ -980,11 +980,11 @@ const mapping = {
'LVS-SN10ZW_SN11': [cfg.sensor_battery, cfg.binary_sensor_occupancy],
'B00TN589ZG': [cfg.light_brightness],
'PSB19-SW27': [cfg.light_brightness],
'S1': [cfg.switch],
'S2': [switchWithPostfix('l1'), switchWithPostfix('l2')],
'S1': [cfg.switch, cfg.sensor_power],
'S2': [switchWithPostfix('l1'), switchWithPostfix('l2'), cfg.sensor_power],
'ZWallRemote0': [cfg.sensor_click],
'D1': [cfg.light_brightness],
'J1': [cfg.cover_position_tilt],
'D1': [cfg.light_brightness, cfg.sensor_power],
'J1': [cfg.cover_position_tilt, cfg.sensor_power],
'73741': [cfg.light_brightness_colortemp_colorxy],
'ZA806SQ1TCF': [cfg.light_brightness_colortemp],
'RF 265': [cfg.light_brightness],