From 27cffd2d7f3589b38693841a0841f929b052a6f7 Mon Sep 17 00:00:00 2001 From: Stefan de Kooter Date: Sat, 14 Jan 2023 11:42:34 +0100 Subject: [PATCH] Typo's in __init__.py: today/tomorrow Logger states wrong moment in time for which prices are gathered --- custom_components/nordpool/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/nordpool/__init__.py b/custom_components/nordpool/__init__.py index 93945f2..19edc48 100644 --- a/custom_components/nordpool/__init__.py +++ b/custom_components/nordpool/__init__.py @@ -78,8 +78,8 @@ async def _update(self, type_="today", dt=None): async_call_later(hass, 20, partial(self._update, type_=type_, dt=dt)) async def update_today(self, _: datetime): - """Update todays prices""" - _LOGGER.debug("Updating tomorrows prices.") + """Update today's prices""" + _LOGGER.debug("Updating today's prices.") await self._update("today") async def update_tomorrow(self, _: datetime):