Skip to content

Commit 993cfb0

Browse files
committed
Sub driver fixes
1 parent 84d381f commit 993cfb0

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

drivers/SmartThings/zigbee-motion-sensor/src/aqara/init.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,7 @@ local aqara_motion_handler = {
110110
}
111111
}
112112
},
113-
sub_drivers = {
114-
require("aqara.high-precision-motion")
115-
},
113+
sub_drivers = require("aqara.sub_drivers"),
116114
can_handle = require("aqara.can_handle"),
117115
}
118116

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
-- Copyright 2025 SmartThings, Inc.
3+
-- Licensed under the Apache License, Version 2.0
4+
5+
local lazy_load = require "lazy_load_subdriver"
6+
7+
return {
8+
lazy_load("aqara.high-precision-motion")
9+
}

0 commit comments

Comments
 (0)