Upgrade ruff to 0.0.285 (#98647)

This commit is contained in:
Ville Skyttä
2023-08-19 15:17:17 +03:00
committed by GitHub
parent f318063a77
commit 3094991236
39 changed files with 109 additions and 119 deletions

View File

@@ -17,7 +17,7 @@ async def _async_has_devices(hass: HomeAssistant) -> bool:
devices = await pyzerproc.discover()
return len(devices) > 0
except pyzerproc.ZerprocException:
_LOGGER.error("Unable to discover nearby Zerproc devices", exc_info=True)
_LOGGER.exception("Unable to discover nearby Zerproc devices")
return False