File tree 5 files changed +5
-3
lines changed
5 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
"""Easee Charger constants."""
2
2
3
- # pylint: disable=too-many-lines
4
3
from pyeasee import ChargerStreamData , EqualizerStreamData
5
4
6
5
from homeassistant .components .binary_sensor import BinarySensorDeviceClass
Original file line number Diff line number Diff line change @@ -123,8 +123,8 @@ async def request_handler(self):
123
123
self .request_queue .task_done ()
124
124
125
125
await self .update_cost ()
126
- """ Wait to comply with rate limit (max 10 calls/hour)"""
127
- await asyncio .sleep (1200 - self .period )
126
+ # Wait to comply with rate limit (max 10 calls/hour)
127
+ await asyncio .sleep (1200 - self .period )
128
128
129
129
async def update_cost (self ):
130
130
"""Poll cost data and notify observers."""
Original file line number Diff line number Diff line change 1
1
"""Provide the device conditions for easee_hass."""
2
+
2
3
from __future__ import annotations
3
4
4
5
import voluptuous as vol
Original file line number Diff line number Diff line change 1
1
"""Diagnostics support for Easee."""
2
+
2
3
from __future__ import annotations
3
4
4
5
from typing import Any
Original file line number Diff line number Diff line change 1
1
"""Provide info to system health."""
2
+
2
3
from homeassistant .components import system_health
3
4
from homeassistant .core import HomeAssistant , callback
4
5
You can’t perform that action at this time.
0 commit comments