mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-09 11:56:33 +00:00
Add missing UPDATE_COMMANDS for Contact sensor (#19632)
This commit is contained in:
parent
f9f3630fca
commit
ead677d148
@ -30,6 +30,7 @@ class Matter_Plugin_Sensor_Contact : Matter_Plugin_Device
|
|||||||
static var ARG_HINT = "Switch<x> number"
|
static var ARG_HINT = "Switch<x> number"
|
||||||
static var ARG_TYPE = / x -> int(x) # function to convert argument to the right type
|
static var ARG_TYPE = / x -> int(x) # function to convert argument to the right type
|
||||||
static var UPDATE_TIME = 750 # update every 750ms
|
static var UPDATE_TIME = 750 # update every 750ms
|
||||||
|
static var UPDATE_COMMANDS = matter.UC_LIST(_class, "Contact")
|
||||||
static var CLUSTERS = matter.consolidate_clusters(_class, {
|
static var CLUSTERS = matter.consolidate_clusters(_class, {
|
||||||
0x0045: [0,0xFFFC,0xFFFD], # Boolean State p.70 - no writable
|
0x0045: [0,0xFFFC,0xFFFD], # Boolean State p.70 - no writable
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user