Command arguments for issue_zigbee_cluster_commands. (#28885)

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

View file

@ -479,7 +479,7 @@ class ZHADevice(LogMixin):
cluster_id,
command,
command_type,
args,
*args,
cluster_type=CLUSTER_TYPE_IN,
manufacturer=None,
):
@ -487,7 +487,6 @@ class ZHADevice(LogMixin):
cluster = self.async_get_cluster(endpoint_id, cluster_id, cluster_type)
if cluster is None:
return None
response = None
if command_type == CLUSTER_COMMAND_SERVER:
response = await cluster.command(
command, *args, manufacturer=manufacturer, expect_reply=True