Fix schema for set_zigbee_cluster_attribute service (#41850)

pull/41980/head
Alexei Chetroi 2020-10-16 20:02:14 -04:00 committed by GitHub
parent 87deb2344c
commit c29f613b1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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,
}
),