Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.tellduslive.TelldusLiveClient Class Reference

Public Member Functions

def __init__ (self, hass, config_entry, session, interval)
 
def async_get_hubs (self)
 
def device (self, device_id)
 
def device_info (self, device_id)
 
def is_available (self, device_id)
 
def update (self, *args)
 

Static Public Member Functions

def identify_device (device)
 

Private Member Functions

def _discover (self, device_id)
 

Private Attributes

 _client
 
 _config_entry
 
 _device_infos
 
 _hass
 
 _interval
 
 _known_devices
 

Detailed Description

Get the latest data and update the states.

Definition at line 135 of file __init__.py.

Constructor & Destructor Documentation

◆ __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.

Member Function Documentation

◆ _discover()

def homeassistant.components.tellduslive.TelldusLiveClient._discover (   self,
  device_id 
)
private
Discover the component.

Definition at line 174 of file __init__.py.

◆ 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 
)
Return device info.

Definition at line 153 of file __init__.py.

◆ 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.

Member Data Documentation

◆ _client

homeassistant.components.tellduslive.TelldusLiveClient._client
private

Definition at line 145 of file __init__.py.

◆ _config_entry

homeassistant.components.tellduslive.TelldusLiveClient._config_entry
private

Definition at line 144 of file __init__.py.

◆ _device_infos

homeassistant.components.tellduslive.TelldusLiveClient._device_infos
private

Definition at line 141 of file __init__.py.

◆ _hass

homeassistant.components.tellduslive.TelldusLiveClient._hass
private

Definition at line 143 of file __init__.py.

◆ _interval

homeassistant.components.tellduslive.TelldusLiveClient._interval
private

Definition at line 146 of file __init__.py.

◆ _known_devices

homeassistant.components.tellduslive.TelldusLiveClient._known_devices
private

Definition at line 140 of file __init__.py.


The documentation for this class was generated from the following file: