Handle the connection to Yale.
Definition at line 15 of file gateway.py.
◆ __init__()
| None homeassistant.components.yale.gateway.YaleGateway.__init__ |
( |
|
self, |
|
|
Path |
config_path, |
|
|
ClientSession |
aiohttp_session, |
|
|
config_entry_oauth2_flow.OAuth2Session |
oauth_session |
|
) |
| |
Init the connection.
Definition at line 18 of file gateway.py.
◆ async_authenticate()
| Authentication homeassistant.components.yale.gateway.YaleGateway.async_authenticate |
( |
|
self | ) |
|
Authenticate with the details provided to setup.
Definition at line 37 of file gateway.py.
◆ async_get_access_token()
| str homeassistant.components.yale.gateway.YaleGateway.async_get_access_token |
( |
|
self | ) |
|
◆ async_refresh_access_token_if_needed()
| None homeassistant.components.yale.gateway.YaleGateway.async_refresh_access_token_if_needed |
( |
|
self | ) |
|
Refresh the access token if needed.
Definition at line 33 of file gateway.py.
◆ _oauth_session
| homeassistant.components.yale.gateway.YaleGateway._oauth_session |
|
private |
◆ authentication
| homeassistant.components.yale.gateway.YaleGateway.authentication |
The documentation for this class was generated from the following file: