Skip to content

Commit

Permalink
Update coordinator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
N3rdix authored Dec 21, 2023
1 parent e3b4f26 commit d463ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/version/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async def _async_update_data(self) -> None:
try:
self._version, self._version_data = await self._api.get_version()
except HaVersionTimeoutException as exception:
logger.warning("Updating version timed out: %s", exception)
_LOGGER.warning("Updating version timed out: %s", exception)

Check failure on line 55 in homeassistant/components/version/coordinator.py

View workflow job for this annotation

GitHub Actions / Check mypy

Name "_LOGGER" is not defined [name-defined]

Check failure on line 55 in homeassistant/components/version/coordinator.py

View workflow job for this annotation

GitHub Actions / Check ruff

Ruff (F821)

homeassistant/components/version/coordinator.py:55:13: F821 Undefined name `_LOGGER`
return
except HaVersionException as exception:
raise UpdateFailed(exception) from exception

0 comments on commit d463ad6

Please sign in to comment.