data are written in new database as the datatypes of the original database does not fit any more.
This commit is contained in:
@@ -162,12 +162,8 @@ class HeatPump:
|
||||
# continue
|
||||
value = float(value)
|
||||
desc = meta.get("desc") or ""
|
||||
label = f"{address} - {desc}".strip(" -")
|
||||
|
||||
data[label] = value
|
||||
tag = meta.get("tag")
|
||||
if tag:
|
||||
data[tag] = value
|
||||
field_name = f"{address} - {desc}".strip(" -")
|
||||
data[field_name] = float(value)
|
||||
|
||||
print(f"Adresse {address} - {desc}: {value}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user