Upgrade ruff to 0.0.285 (#98647)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user