Skip to content

Commit

Permalink
Change existing location warning to info
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander0042 committed Dec 29, 2022
1 parent a8fa44f commit d3fe23c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/pirateweather/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
# we have to create a new one
if unique_location in hass.data[DOMAIN]:
weather_coordinator = hass.data[DOMAIN].get(unique_location)
_LOGGER.warning('An existing weather coordinator already exists for this location. Using that one instead')
_LOGGER.info('An existing weather coordinator already exists for this location. Using that one instead')
else:
weather_coordinator = WeatherUpdateCoordinator(api_key, latitude, longitude, timedelta(seconds=pw_scan_Int), hass)
hass.data[DOMAIN][unique_location] = weather_coordinator
Expand Down

0 comments on commit d3fe23c

Please sign in to comment.