Skip to content

Commit

Permalink
Fix for issue #9
Browse files Browse the repository at this point in the history
Caused by HA setup not being complete when we try and schedule a async task to update the UI.
  • Loading branch information
epaulsen committed Aug 6, 2023
1 parent 462a79d commit 1d67eb0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion custom_components/energytariff/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,6 @@ async def async_added_to_hass(self) -> None:
"energy": item["energy"],
}
)
self.calculate_level()

@callback
def _async_reset_meter(self, _):
Expand Down

0 comments on commit 1d67eb0

Please sign in to comment.