From 15ee48c318df27ea52449fe8c5b57786a5de7f76 Mon Sep 17 00:00:00 2001 From: presslab-us Date: Sat, 28 Mar 2020 14:12:49 -0400 Subject: [PATCH] Support Iris smart button 3460-L (#3214) --- lib/extension/homeassistant.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/extension/homeassistant.js b/lib/extension/homeassistant.js index d0d09d314..7760fa8c0 100644 --- a/lib/extension/homeassistant.js +++ b/lib/extension/homeassistant.js @@ -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) => {