Skip to content

Commit

Permalink
fix: send tempo sensor to HA always
Browse files Browse the repository at this point in the history
  • Loading branch information
m4dm4rtig4n committed Feb 19, 2024
1 parent f5dd2a4 commit 91456c9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/models/export_home_assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ def export(self):
self.last_x_day(5, "production")
self.history_usage_point_id("production")

tempo_config = CONFIG.tempo_config()
if tempo_config and "enable" in tempo_config and tempo_config["enable"]:
self.tempo()
self.tempo_info()
self.tempo_days()
self.tempo_price()
self.ecowatt()
# tempo_config = CONFIG.tempo_config()
# if tempo_config and "enable" in tempo_config and tempo_config["enable"]:
self.tempo()
self.tempo_info()
self.tempo_days()
self.tempo_price()
self.ecowatt()

def sensor(self, **kwargs):
logging.info(
Expand Down

0 comments on commit 91456c9

Please sign in to comment.