Lint cleanups (#15243)
* Remove some unused imports * Fix a flake8 E271
This commit is contained in:
parent
9db8759317
commit
6f582dcf24
7 changed files with 4 additions and 24 deletions
|
@ -123,7 +123,7 @@ class TibberSensor(Entity):
|
|||
async def _fetch_data(self):
|
||||
try:
|
||||
await self._tibber_home.update_info()
|
||||
await self._tibber_home.update_price_info()
|
||||
await self._tibber_home.update_price_info()
|
||||
except (asyncio.TimeoutError, aiohttp.ClientError):
|
||||
return
|
||||
data = self._tibber_home.info['viewer']['home']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue