Lint cleanups (#15243)

* Remove some unused imports

* Fix a flake8 E271
This commit is contained in:
Ville Skyttä 2018-07-01 18:57:01 +03:00 committed by Paulus Schoutsen
parent 9db8759317
commit 6f582dcf24
7 changed files with 4 additions and 24 deletions

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']