mirror of
https://github.com/Andre0512/hon.git
synced 2025-05-27 21:24:11 -04:00
Reformat with black
This commit is contained in:
parent
4901be4050
commit
907bc44533
10 changed files with 133 additions and 85 deletions
|
@ -28,7 +28,9 @@ CONFIG_SCHEMA = vol.Schema(
|
|||
|
||||
async def async_setup_entry(hass: HomeAssistantType, entry: ConfigEntry):
|
||||
session = aiohttp_client.async_get_clientsession(hass)
|
||||
hon = await Hon(entry.data["email"], entry.data["password"], session=session).create()
|
||||
hon = await Hon(
|
||||
entry.data["email"], entry.data["password"], session=session
|
||||
).create()
|
||||
hass.data.setdefault(DOMAIN, {})
|
||||
hass.data[DOMAIN][entry.unique_id] = hon
|
||||
hass.data[DOMAIN]["coordinators"] = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue