Skip to content

Commit

Permalink
Merge pull request #389 from cretzuuu/fix_outsideTemp_overflow_C3
Browse files Browse the repository at this point in the history
cast to int for errorsome variable
  • Loading branch information
georgezhao2010 authored Dec 16, 2023
2 parents 9a179e1 + 0f59777 commit ead8248
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 @@ -183,7 +183,7 @@ def __init__(self, body, data_offset=0):
(body[data_offset + 6] << 16) +
(body[data_offset + 7] << 8) +
(body[data_offset + 8]))
self.outdoor_temperature = body[data_offset + 9]
self.outdoor_temperature = int(body[data_offset + 9])


class MessageC3Response(MessageResponse):
Expand Down

0 comments on commit ead8248

Please sign in to comment.