Skip to content

Commit 1884c53

Browse files
fix PLM P250418-01789
1 parent e467351 commit 1884c53

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)