mirror of https://github.com/arendst/Tasmota.git
Update Matter_Plugin_3_Sensor_Occupancy.be (#19631)
Add missing UPDATE_COMMANDS for Occupancy sensor
This commit is contained in:
parent
d1c643a591
commit
f9f3630fca
|
@ -30,6 +30,7 @@ class Matter_Plugin_Sensor_Occupancy : 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, "Occupancy")
|
||||||
static var CLUSTERS = matter.consolidate_clusters(_class, {
|
static var CLUSTERS = matter.consolidate_clusters(_class, {
|
||||||
0x0406: [0,1,2,0xFFFC,0xFFFD], # Occupancy Sensing p.105 - no writable
|
0x0406: [0,1,2,0xFFFC,0xFFFD], # Occupancy Sensing p.105 - no writable
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue