Bump AIOAladdinConnect to 0.1.25 (#75235)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
parent
700081e160
commit
98807f7efc
6 changed files with 13 additions and 7 deletions
|
@ -18,7 +18,7 @@ from homeassistant.data_entry_flow import FlowResult
|
|||
from homeassistant.exceptions import HomeAssistantError
|
||||
from homeassistant.helpers.aiohttp_client import async_get_clientsession
|
||||
|
||||
from .const import DOMAIN
|
||||
from .const import CLIENT_ID, DOMAIN
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -38,7 +38,10 @@ async def validate_input(hass: HomeAssistant, data: dict[str, Any]) -> None:
|
|||
Data has the keys from STEP_USER_DATA_SCHEMA with values provided by the user.
|
||||
"""
|
||||
acc = AladdinConnectClient(
|
||||
data[CONF_USERNAME], data[CONF_PASSWORD], async_get_clientsession(hass)
|
||||
data[CONF_USERNAME],
|
||||
data[CONF_PASSWORD],
|
||||
async_get_clientsession(hass),
|
||||
CLIENT_ID,
|
||||
)
|
||||
login = await acc.login()
|
||||
await acc.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue