Skip to content

Commit 59833ff

Browse files
committed
fixup! luacheck
1 parent c0b4542 commit 59833ff

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

drivers/SmartThings/zigbee-switch/src/ezex/init.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
local zigbee_constants = require "st.zigbee.constants"
1616
local configurations = require "configurations"
1717

18-
local ZIGBEE_METERING_SWITCH_FINGERPRINTS = {
19-
{ model = "E240-KR116Z-HA" }
20-
}
21-
2218
local do_init = function(self, device)
2319
device:set_field(zigbee_constants.SIMPLE_METERING_DIVISOR_KEY, 1000000, {persist = true})
2420
device:set_field(zigbee_constants.ELECTRICAL_MEASUREMENT_DIVISOR_KEY, 1000, {persist = true})

drivers/SmartThings/zigbee-switch/src/table_tracker.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ local mt = {
2222

2323
local track = function(t)
2424
local proxy = {
25-
__reads = {},
26-
__writes = {},
25+
__reads = {},
26+
__writes = {},
2727
}
2828
proxy[index] = t
2929

drivers/SmartThings/zigbee-switch/src/zigbee-dual-metering-switch/init.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@ local OnOff = clusters.OnOff
1818
local ElectricalMeasurement = clusters.ElectricalMeasurement
1919
local utils = require "st.utils"
2020
local configurations = require "configurations"
21-
local lazy_require = utils.lazy_require
2221

2322
local CHILD_ENDPOINT = 2
2423

25-
2624
local function do_refresh(self, device)
2725
device:send(OnOff.attributes.OnOff:read(device))
2826
device:send(ElectricalMeasurement.attributes.ActivePower:read(device))

0 commit comments

Comments
 (0)