Command arguments for issue_zigbee_cluster_commands. (#28885)

This commit is contained in:
Alexei Chetroi authored and David F. Mulcahey committed 2019-11-20 08:34:06 -05:00
1 parent b267d54db3
commit 4ba2bd232c
3 files changed
+5 -6

No files matched your search

+2 -2
View File
@@ -141,7 +141,7 @@ SERVICE_SCHEMAS = {
vol.Optional(ATTR_CLUSTER_TYPE, default=CLUSTER_TYPE_IN): cv.string,
vol.Required(ATTR_COMMAND): cv.positive_int,
vol.Required(ATTR_COMMAND_TYPE): cv.string,
vol.Optional(ATTR_ARGS, default=""): cv.string,
vol.Optional(ATTR_ARGS, default=[]): cv.ensure_list,
vol.Optional(ATTR_MANUFACTURER): cv.positive_int,
}
),
@@ -649,7 +649,7 @@ def async_load_api(hass):
cluster_id,
command,
command_type,
args,
*args,
cluster_type=cluster_type,
manufacturer=manufacturer,
)