change type of state

This commit is contained in:
2022-11-24 16:49:59 +01:00
parent 707ee88dc3
commit 2fdd2c3aea

View File

@ -9,7 +9,7 @@ def floatAdaptor(i):
return float(f"{i:0.2f}") if i else 0.0
def onOffAdaptor(i):
return i[0] != 0
return i[0]
REGISTERS = [