Skip to content

Commit

Permalink
Fix #17
Browse files Browse the repository at this point in the history
Due to Upgrade Astral to 2.2 to call of the function change
More inforamtion of the change : https://github.com/home-assistant/core/pull/48573/files
  • Loading branch information
ciuga committed May 7, 2021
1 parent 2dcbec5 commit 07785fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/pool_pump/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def __init__(self, hass, now):

# TODO: check when the schedule for next day is computed
noon = dt_util.as_local(
get_astral_event_date(self._hass, "solar_noon", self._now.date())
get_astral_event_date(self._hass, "noon", self._now.date())
)
_LOGGER.debug("Solar noon is at: {}".format(noon))

Expand Down

0 comments on commit 07785fd

Please sign in to comment.