Fix LifeControl_Door_Sensor Home Assistant discovery. #3108

This commit is contained in:
Koen Kanters 2020-03-15 15:25:28 +01:00
parent 4d3bbce687
commit 15bef07328

View File

@ -1303,7 +1303,7 @@ const mapping = {
'HM-900SW_2': [switchWithPostfix('left'), switchWithPostfix('right')],
'HM-900SW_3': [switchWithPostfix('left'), switchWithPostfix('right'), switchWithPostfix('center')],
'LifeControl_Leak_Sensor': [cfg.binary_sensor_water_leak, cfg.sensor_battery],
'LifeControl_Door_Sensor': [cfg.binary_sensor_water_leak, cfg.sensor_battery],
'LifeControl_Door_Sensor': [cfg.binary_sensor_contact, cfg.sensor_battery],
'LifeControl_RGB_Led': [cfg.light_brightness_colortemp_colorxy],
'3323-G': [cfg.binary_sensor_occupancy, cfg.sensor_temperature, cfg.binary_sensor_battery_low],
'ZL1000400-CCT-EU-2-V1A02': [cfg.light_brightness_colortemp],