We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b13bde7 commit 1349b7aCopy full SHA for 1349b7a
drivers/SmartThings/zigbee-switch/src/aqara-light/init.lua
@@ -21,16 +21,6 @@ local FINGERPRINTS = {
21
{ mfr = "LUMI", model = "lumi.light.cwacn1" }
22
}
23
24
-local function is_aqara_products(opts, driver, device)
25
- for _, fingerprint in ipairs(FINGERPRINTS) do
26
- if device:get_manufacturer() == fingerprint.mfr and device:get_model() == fingerprint.model then
27
- local subdriver = require("aqara-light")
28
- return true, subdriver
29
- end
30
31
- return false
32
-end
33
-
34
local function do_refresh(self, device)
35
device:send(OnOff.attributes.OnOff:read(device))
36
device:send(Level.attributes.CurrentLevel:read(device))
0 commit comments