Skip to content

Commit

Permalink
Fix: Midea heat pump outside temperature issue when below zero #427
Browse files Browse the repository at this point in the history
Fix: Midea heat pump outside temperature issue when below zero #427
  • Loading branch information
erikgieseler authored May 25, 2024
1 parent 598fc69 commit 5cfa22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/midea_ac_lan/midea/devices/c3/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def __init__(self, body, data_offset=0):
+ (body[data_offset + 7] << 8)
+ (body[data_offset + 8])
)
self.outdoor_temperature = int(body[data_offset + 9])
self.outdoor_temperature = body[data_offset + 9] - 256 if body[data_offset + 9] > 127 else body[data_offset + 9]


class MessageC3Response(MessageResponse):
Expand Down

0 comments on commit 5cfa22b

Please sign in to comment.