Skip to content

Commit fe53a38

Browse files
committed
fix for dividing curr temp by 100 twice
1 parent 9a5ec00 commit fe53a38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

inelsmqtt/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1600,7 +1600,7 @@ def __find_ha_value(self) -> None:
16001600
elif self.__inels_type is VIRT_CONTR:
16011601
temp_current = int(self.__trim_inels_status_values(
16021602
DEVICE_TYPE_166_DATA, CURRENT_TEMP, ""
1603-
), 16) / 100
1603+
), 16)
16041604
if temp_current == 0x7FFFFFFB:
16051605
temp_current = 0
16061606
else:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
setup(
55
name="inels-mqtt-new",
6-
version="0.2.22b5",
6+
version="0.2.22b6",
77
url="https://github.com/zed4805/inels-mqtt-new",
88
license="MIT",
99
author="Elko EP s.r.o.",

0 commit comments

Comments
 (0)