Skip to content

Commit

Permalink
Revert boolean property payload changes
Browse files Browse the repository at this point in the history
Signed-off-by: Aitor Iturrioz <[email protected]>
  • Loading branch information
bodiroga committed Jan 25, 2020
1 parent a15e6b9 commit 4a7db9c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@

vsmart.get_node("outdoor").set_property_value("outdoor-temp", vaillant_connection.outdoor_temperature)

vsmart.get_node("boiler").set_property_value("ebus-error", str(vaillant_connection.ebus_error).lower())
vsmart.get_node("boiler").set_property_value("boiler-error", str(vaillant_connection.boiler_error).lower())
vsmart.get_node("boiler").set_property_value("maintenance-status", str(vaillant_connection.maintenance_status).lower())
vsmart.get_node("boiler").set_property_value("refill-water", str(vaillant_connection.refill_water).lower())
vsmart.get_node("boiler").set_property_value("ebus-error", vaillant_connection.ebus_error)
vsmart.get_node("boiler").set_property_value("boiler-error", vaillant_connection.boiler_error)
vsmart.get_node("boiler").set_property_value("maintenance-status", vaillant_connection.maintenance_status)
vsmart.get_node("boiler").set_property_value("refill-water", vaillant_connection.refill_water)
except NoConnection:
logger.error("No response from Netatmo server")
except NoDevice:
Expand Down

0 comments on commit 4a7db9c

Please sign in to comment.