Skip to content

Commit 625b268

Browse files
committed
fixed names
1 parent 4365967 commit 625b268

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

inelsmqtt/util.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1601,10 +1601,10 @@ def __find_ha_value(self) -> None:
16011601
temp_current = int(self.__trim_inels_status_values(
16021602
DEVICE_TYPE_166_DATA, CURRENT_TEMP, ""
16031603
), 16) / 100
1604-
if temp_required_heat == 0x7FFFFFFB:
1605-
temp_required_heat = None
1604+
if temp_current == 0x7FFFFFFB:
1605+
temp_current = None
16061606
else:
1607-
temp_required_heat /= 100
1607+
temp_current /= 100
16081608
temp_critical_max = int(self.__trim_inels_status_values( #check if 0x7F FF FF FB -> make it 50
16091609
DEVICE_TYPE_166_DATA, CRITICAL_MAX_TEMP, ""
16101610
), 16) / 100

0 commit comments

Comments
 (0)