Mosibi / Midea-heat-pump-ESPHome

Apache License 2.0
43 stars 10 forks source link

Condenser temperature is a signed value #2

Closed timmccor closed 9 months ago

timmccor commented 9 months ago

The condenser temperature under register 0x6a is a signed value, as it will dip down below 0C whenever the outside temperature is low. Treating this as an unsigned value means that -1C shows up as 65535C, which is how I noticed the error.

I've tested this on my Midea Heat Pump over the last couple of weeks and it works without issue.

Mosibi commented 9 months ago

Thank you for spotting this!