Support Iris smart button 3460-L (#3214)

This commit is contained in:
presslab-us
2020-03-28 19:12:49 +01:00
committed by GitHub
parent ac7ac1a464
commit 15ee48c318
+1
View File
@@ -1404,6 +1404,7 @@ const mapping = {
'SSS401ZB': [cfg.switch, cfg.sensor_action],
'E12-N1E': [cfg.light_brightness_colortemp_colorxy],
'4040B': [cfg.sensor_power, switchWithPostfix('l1'), switchWithPostfix('l2')],
'3460-L': [cfg.sensor_action, cfg.sensor_temperature, cfg.sensor_battery],
};
Object.keys(mapping).forEach((key) => {