We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4365967 commit 625b268Copy full SHA for 625b268
inelsmqtt/util.py
@@ -1601,10 +1601,10 @@ def __find_ha_value(self) -> None:
1601
temp_current = int(self.__trim_inels_status_values(
1602
DEVICE_TYPE_166_DATA, CURRENT_TEMP, ""
1603
), 16) / 100
1604
- if temp_required_heat == 0x7FFFFFFB:
1605
- temp_required_heat = None
+ if temp_current == 0x7FFFFFFB:
+ temp_current = None
1606
else:
1607
- temp_required_heat /= 100
+ temp_current /= 100
1608
temp_critical_max = int(self.__trim_inels_status_values( #check if 0x7F FF FF FB -> make it 50
1609
DEVICE_TYPE_166_DATA, CRITICAL_MAX_TEMP, ""
1610
0 commit comments