We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97a1286 commit 1f2d7c7Copy full SHA for 1f2d7c7
custom_components/easee/const.py
@@ -1,6 +1,5 @@
1
"""Easee Charger constants."""
2
3
-# pylint: disable=too-many-lines
4
from pyeasee import ChargerStreamData, EqualizerStreamData
5
6
from homeassistant.components.binary_sensor import BinarySensorDeviceClass
custom_components/easee/controller.py
@@ -123,8 +123,8 @@ async def request_handler(self):
123
self.request_queue.task_done()
124
125
await self.update_cost()
126
- """Wait to comply with rate limit (max 10 calls/hour)"""
127
- await asyncio.sleep(1200-self.period)
+ # Wait to comply with rate limit (max 10 calls/hour)
+ await asyncio.sleep(1200 - self.period)
128
129
async def update_cost(self):
130
"""Poll cost data and notify observers."""
0 commit comments