Skip to content

Commit

Permalink
fix command id with he manufaturer code in python
Browse files Browse the repository at this point in the history
  • Loading branch information
yunhanw-google committed Jan 17, 2023
1 parent 59ab3ad commit 013890e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class {{asUpperCamelCase name}}(Cluster):
@dataclass
class {{asUpperCamelCase name}}(ClusterCommand):
cluster_id: typing.ClassVar[int] = {{ asHex parent.code 4 }}
command_id: typing.ClassVar[int] = {{ asHex code 4 }}
command_id: typing.ClassVar[int] = {{ asMEI manufacturerCode code }}
{{#if (isServer source)}}
is_client: typing.ClassVar[bool] = False
{{else}}
Expand Down

0 comments on commit 013890e

Please sign in to comment.