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

+1 -2
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