Lint cleanups (#15243)

* Remove some unused imports

* Fix a flake8 E271
This commit is contained in:
Ville Skyttä authored and Paulus Schoutsen committed 2018-07-01 11:57:01 -04:00
1 parent 9db8759317
commit 6f582dcf24
7 files changed
+4 -24

No files matched your search

+1 -1
View File
@@ -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']