We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b4b23f0 + 05aa526 commit 2a377a1Copy full SHA for 2a377a1
drivers/SmartThings/matter-switch/src/init.lua
@@ -54,6 +54,7 @@ end
54
55
function SwitchLifecycleHandlers.driver_switched(driver, device)
56
if device.network_type == device_lib.NETWORK_TYPE_MATTER and not switch_utils.detect_bridge(device) then
57
+ switch_utils.handle_electrical_sensor_info(device) -- field settings required for proper setup when switching drivers
58
device_cfg.match_profile(driver, device)
59
end
60
0 commit comments