Skip to content

Commit

Permalink
Update Matter_Plugin_3_Sensor_Occupancy.be (#19631)
Browse files Browse the repository at this point in the history
Add missing UPDATE_COMMANDS for Occupancy sensor
  • Loading branch information
lboue authored Oct 1, 2023
1 parent d1c643a commit f9f3630
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class Matter_Plugin_Sensor_Occupancy : Matter_Plugin_Device
static var ARG_HINT = "Switch<x> number"
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_COMMANDS = matter.UC_LIST(_class, "Occupancy")
static var CLUSTERS = matter.consolidate_clusters(_class, {
0x0406: [0,1,2,0xFFFC,0xFFFD], # Occupancy Sensing p.105 - no writable
})
Expand Down

0 comments on commit f9f3630

Please sign in to comment.