Fix schema for set_zigbee_cluster_attribute service (#41850)
parent
87deb2344c
commit
c29f613b1d
|
@ -119,8 +119,8 @@ SERVICE_SCHEMAS = {
|
|||
vol.Required(ATTR_ENDPOINT_ID): cv.positive_int,
|
||||
vol.Required(ATTR_CLUSTER_ID): cv.positive_int,
|
||||
vol.Optional(ATTR_CLUSTER_TYPE, default=CLUSTER_TYPE_IN): cv.string,
|
||||
vol.Required(ATTR_ATTRIBUTE): vol.Any(int, cv.boolean, cv.string),
|
||||
vol.Required(ATTR_VALUE): cv.string,
|
||||
vol.Required(ATTR_ATTRIBUTE): vol.Any(cv.positive_int, str),
|
||||
vol.Required(ATTR_VALUE): vol.Any(int, cv.boolean, cv.string),
|
||||
vol.Optional(ATTR_MANUFACTURER): cv.positive_int,
|
||||
}
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue