Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.venstar.entity.VenstarEntity Class Reference
Inheritance diagram for homeassistant.components.venstar.entity.VenstarEntity:
[legend]
Collaboration diagram for homeassistant.components.venstar.entity.VenstarEntity:
[legend]

Public Member Functions

None __init__ (self, VenstarDataUpdateCoordinator venstar_data_coordinator, ConfigEntry config)
 
DeviceInfo device_info (self)
 
- Public Member Functions inherited from homeassistant.helpers.update_coordinator.CoordinatorEntity
None __init__ (self, _DataUpdateCoordinatorT coordinator, Any context=None)
 
None async_update (self)
 
bool available (self)
 
- Public Member Functions inherited from homeassistant.components.venstar.coordinator.VenstarDataUpdateCoordinator
None __init__ (self, HomeAssistant hass, *VenstarColorTouch venstar_connection)
 

Private Member Functions

None _handle_coordinator_update (self)
 

Private Attributes

 _client
 
 _config
 

Static Private Attributes

bool _attr_has_entity_name = True
 

Additional Inherited Members

- Public Attributes inherited from homeassistant.components.venstar.coordinator.VenstarDataUpdateCoordinator
 client
 
 runtimes
 

Detailed Description

Representation of a Venstar entity.

Definition at line 14 of file entity.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.venstar.entity.VenstarEntity.__init__ (   self,
VenstarDataUpdateCoordinator  venstar_data_coordinator,
ConfigEntry  config 
)
Initialize the data object.

Reimplemented in homeassistant.components.venstar.climate.VenstarThermostat.

Definition at line 19 of file entity.py.

Member Function Documentation

◆ _handle_coordinator_update()

None homeassistant.components.venstar.entity.VenstarEntity._handle_coordinator_update (   self)
private
Handle updated data from the coordinator.

Definition at line 30 of file entity.py.

◆ device_info()

DeviceInfo homeassistant.components.venstar.entity.VenstarEntity.device_info (   self)
Return the device information for this entity.

Definition at line 35 of file entity.py.

Member Data Documentation

◆ _attr_has_entity_name

bool homeassistant.components.venstar.entity.VenstarEntity._attr_has_entity_name = True
staticprivate

Definition at line 17 of file entity.py.

◆ _client

homeassistant.components.venstar.entity.VenstarEntity._client
private

Definition at line 27 of file entity.py.

◆ _config

homeassistant.components.venstar.entity.VenstarEntity._config
private

Definition at line 26 of file entity.py.


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