Get the latest data and update the states.
Definition at line 135 of file __init__.py.
◆ __init__()
| def homeassistant.components.tellduslive.TelldusLiveClient.__init__ |
( |
|
self, |
|
|
|
hass, |
|
|
|
config_entry, |
|
|
|
session, |
|
|
|
interval |
|
) |
| |
Initialize the Tellus data object.
Definition at line 138 of file __init__.py.
◆ _discover()
| def homeassistant.components.tellduslive.TelldusLiveClient._discover |
( |
|
self, |
|
|
|
device_id |
|
) |
| |
|
private |
◆ async_get_hubs()
| def homeassistant.components.tellduslive.TelldusLiveClient.async_get_hubs |
( |
|
self | ) |
|
Return hubs registered for the user.
Definition at line 148 of file __init__.py.
◆ device()
| def homeassistant.components.tellduslive.TelldusLiveClient.device |
( |
|
self, |
|
|
|
device_id |
|
) |
| |
Return device representation.
Definition at line 217 of file __init__.py.
◆ device_info()
| def homeassistant.components.tellduslive.TelldusLiveClient.device_info |
( |
|
self, |
|
|
|
device_id |
|
) |
| |
◆ identify_device()
| def homeassistant.components.tellduslive.TelldusLiveClient.identify_device |
( |
|
device | ) |
|
|
static |
Find out what type of HA component to create.
Definition at line 158 of file __init__.py.
◆ is_available()
| def homeassistant.components.tellduslive.TelldusLiveClient.is_available |
( |
|
self, |
|
|
|
device_id |
|
) |
| |
Return device availability.
Definition at line 221 of file __init__.py.
◆ update()
| def homeassistant.components.tellduslive.TelldusLiveClient.update |
( |
|
self, |
|
|
* |
args |
|
) |
| |
Periodically poll the servers for current state.
Definition at line 199 of file __init__.py.
◆ _client
| homeassistant.components.tellduslive.TelldusLiveClient._client |
|
private |
◆ _config_entry
| homeassistant.components.tellduslive.TelldusLiveClient._config_entry |
|
private |
◆ _device_infos
| homeassistant.components.tellduslive.TelldusLiveClient._device_infos |
|
private |
◆ _hass
| homeassistant.components.tellduslive.TelldusLiveClient._hass |
|
private |
◆ _interval
| homeassistant.components.tellduslive.TelldusLiveClient._interval |
|
private |
◆ _known_devices
| homeassistant.components.tellduslive.TelldusLiveClient._known_devices |
|
private |
The documentation for this class was generated from the following file: