Skip to content

Commit

Permalink
Add missing UPDATE_COMMANDS for Contact sensor (#19632)
Browse files Browse the repository at this point in the history
  • Loading branch information
lboue authored Oct 1, 2023
1 parent f9f3630 commit ead677d
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_Contact : 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, "Contact")
static var CLUSTERS = matter.consolidate_clusters(_class, {
0x0045: [0,0xFFFC,0xFFFD], # Boolean State p.70 - no writable
})
Expand Down

0 comments on commit ead677d

Please sign in to comment.