Skip to content

Commit

Permalink
Update message.py
Browse files Browse the repository at this point in the history
  • Loading branch information
erikgieseler authored May 27, 2024
1 parent 9b93063 commit 05b8c9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/midea_ac_lan/midea/devices/c3/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,13 @@ def __init__(self, body, data_offset=0):
+ (body[data_offset + 6] << 16)
+ (body[data_offset + 7] << 8)
+ (body[data_offset + 8])
)

)
base_value = body[data_offset + 9]
self.outdoor_temperature = (
(base_value - 256) if base_value > 127 else base_value
)


class MessageC3Response(MessageResponse):
def __init__(self, message):
super().__init__(message)
Expand Down

0 comments on commit 05b8c9d

Please sign in to comment.