Enable Ruff RSE (#113695)

This commit is contained in:
Sid 2024-03-18 00:40:38 +01:00 committed by GitHub
parent 685553d17d
commit 82a60fe8ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
155 changed files with 325 additions and 324 deletions

View file

@ -286,10 +286,10 @@ async def async_setup_entry(
await home.update_info()
except TimeoutError as err:
_LOGGER.error("Timeout connecting to Tibber home: %s ", err)
raise PlatformNotReady() from err
raise PlatformNotReady from err
except aiohttp.ClientError as err:
_LOGGER.error("Error connecting to Tibber home: %s ", err)
raise PlatformNotReady() from err
raise PlatformNotReady from err
if home.has_active_subscription:
entities.append(TibberSensorElPrice(home))