File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1373,9 +1373,10 @@ def __find_ha_value(self) -> None:
13731373 temp_out = self .__trim_inels_status_values (DAC3_04_DATA , TEMP_OUT , "" )
13741374
13751375 aout_alert = self .__trim_inels_status_values (DAC3_04_DATA , ALERT , "" )
1376+ aout_alert_bits = f"{ int (aout_alert , 16 ):0>8b} "
13761377 aout_coa = []
13771378 for i in range (4 ):
1378- aout_coa .append (aout_alert [6 - i ] == "1" ) #skip first bit
1379+ aout_coa .append (aout_alert_bits [6 - i ] == "1" ) #skip first bit
13791380
13801381 aout_str = self .__trim_inels_status_bytes (DAC3_04_DATA , OUT )
13811382 aout_val = []
Original file line number Diff line number Diff line change 33
44setup (
55 name = "elkoep-mqtt" ,
6- version = "0.2.30 " ,
6+ version = "0.2.31 " ,
77 url = "https://github.com/epdevlab/elkoep-mqtt" ,
88 license = "MIT" ,
99 author = "Elko EP s.r.o." ,
You can’t perform that action at this time.
0 commit comments