File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
drivers/SmartThings/zigbee-motion-sensor/src/aqara Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ local cluster_base = require "st.zigbee.cluster_base"
55local data_types = require " st.zigbee.data_types"
66local battery_defaults = require " st.zigbee.defaults.battery_defaults"
77local aqara_utils = require " aqara/aqara_utils"
8+ local lazy_load_if_possible = require " lazy_load_subdriver"
89
910local PowerConfiguration = clusters .PowerConfiguration
1011
@@ -110,9 +111,7 @@ local aqara_motion_handler = {
110111 }
111112 }
112113 },
113- sub_drivers = {
114- require (" aqara.high-precision-motion" )
115- },
114+ sub_drivers = require (" aqara.sub_drivers" ),
116115 can_handle = require (" aqara.can_handle" ),
117116}
118117
Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments