Skip to content

Commit

Permalink
typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
xZetsubou committed Oct 13, 2023
1 parent 62feeb9 commit aaf319d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/localtuya/core/pytuya/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,7 @@ def _generate_payload(
else:
del json_data["cid"]
if "data" in json_data and "cid" in json_data["data"]:
# "cid" in inside "data" For 3.4 and 3.5 versions.
# "cid" is inside "data" For 3.4 and 3.5 versions.
if cid := nodeId or self.node_id:
json_data["data"]["cid"] = cid
else:
Expand Down

0 comments on commit aaf319d

Please sign in to comment.