Lint cleanups (#15243)
* Remove some unused imports * Fix a flake8 E271
This commit is contained in:
1 parent
9db8759317
commit
6f582dcf24
7 files changed
+4
-24
No files matched your search
@@ -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']
|
||||
|
||||
Reference in new issue
Block a user