diff --git a/custom_components/pirateweather/sensor.py b/custom_components/pirateweather/sensor.py index aebbffc..979fdd0 100644 --- a/custom_components/pirateweather/sensor.py +++ b/custom_components/pirateweather/sensor.py @@ -72,7 +72,7 @@ ENTRY_NAME, ENTRY_WEATHER_COORDINATOR, PLATFORMS, - UPDATE_LISTENER, + UPDATE_LISTENER, MANUFACTURER, FORECASTS_HOURLY, FORECASTS_DAILY, @@ -716,7 +716,7 @@ async def async_setup_entry( weather_coordinator, condition, name, unique_id, forecast_day=None, forecast_hour=int(forecast_h), description=sensorDescription, requestUnits=requestUnits, outputRound=outputRound ) ) - + async_add_entities(sensors) @@ -1046,7 +1046,7 @@ async def async_added_to_hass(self) -> None: #async def async_update(self) -> None: # """Get the latest data from PW and updates the states.""" - # await self._weather_coordinator.async_request_refresh() + # await self._weather_coordinator.async_request_refresh()