Skip to content

Commit

Permalink
Fix target_temp for lumi.airrtc.tcpecn02
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Apr 8, 2024
1 parent 409fd62 commit 07e0a18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/xiaomi_gateway3/core/converters/lumi.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def encode(self, device: "XDevice", payload: dict, value: dict):
if "fan_mode" in value:
b[1] = self.fan[value["fan_mode"]]
if "target_temp" in value:
b[3] = int(value["target_temp"])
b[2] = int(value["target_temp"])
value = int.from_bytes(b, "big")
super().encode(device, payload, value)

Expand Down

0 comments on commit 07e0a18

Please sign in to comment.