Skip to content

Commit

Permalink
Merge pull request #116 from FrancoLoco/main
Browse files Browse the repository at this point in the history
Incompatibilité Home Assistant 2022.5 #112
  • Loading branch information
valleedelisle authored May 14, 2022
2 parents bb532b1 + f5f7ed6 commit c16c30b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/hilo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def high_times(self):

def check_tarif(self):
tarif = "low"
base_sensor = f"sensor.{HILO_ENERGY_TOTAL}_daily_low"
base_sensor = f"sensor.{HILO_ENERGY_TOTAL}_low"
energy_used = self._hass.states.get(base_sensor)
if not energy_used:
LOG.warning(f"check_tarif: Unable to find state for {base_sensor}")
Expand Down

0 comments on commit c16c30b

Please sign in to comment.