Skip to content

Commit d773c03

Browse files
authored
Merge pull request #2105 from FrankSpringfield/PLM_P250418-01789
【P250418-01789】fix bugs for zigbee-switch
2 parents e467351 + 1884c53 commit d773c03

File tree

1 file changed

+3
-0
lines changed
  • drivers/SmartThings/zigbee-switch/src

1 file changed

+3
-0
lines changed

drivers/SmartThings/zigbee-switch/src/init.lua

+3
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ local device_init = function(driver, device)
8484
if ias_zone_config_method ~= nil then
8585
device:set_ias_zone_config_method(ias_zone_config_method)
8686
end
87+
if device.network_type == device_lib.NETWORK_TYPE_ZIGBEE then
88+
device:set_find_child(find_child)
89+
end
8790
end
8891

8992
local function is_mcd_device(device)

0 commit comments

Comments
 (0)