Skip to content

Commit 966847a

Browse files
pegor-karoglaniangreens
authored andcommitted
increase init delay to wait for radio up
1 parent f9dd904 commit 966847a

File tree

2 files changed

+2
-2
lines changed
  • drivers/SmartThings
    • zigbee-lock/src/using-new-capabilities
    • zwave-lock/src/using-new-capabilities

2 files changed

+2
-2
lines changed

drivers/SmartThings/zigbee-lock/src/using-new-capabilities/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ end
6666

6767
local init = function(driver, device)
6868
lock_utils.reload_tables(device)
69-
device.thread:call_with_delay(2, function(d)
69+
device.thread:call_with_delay(10, function(d)
7070
reload_all_codes(device)
7171
end)
7272
end

drivers/SmartThings/zwave-lock/src/using-new-capabilities/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ end
5050

5151
local init = function(driver, device)
5252
lock_utils.reload_tables(device)
53-
device.thread:call_with_delay(2, function ()
53+
device.thread:call_with_delay(10, function ()
5454
reload_all_codes(device)
5555
end)
5656
end

0 commit comments

Comments
 (0)