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

Public Member Functions

None __init__ (self, dict entry_data, DataUpdateCoordinator[Any] coordinator, str|None name, int idx, str|None device_name, str|None device_manufacturer, str|None device_model, int device_id)
 
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 Attributes

 entry_data
 

Private Attributes

 _attr_name
 
 _attr_unique_id
 
 _controller_unique_id
 
 _device_id
 
 _device_manufacturer
 
 _device_model
 
 _device_name
 
 _idx
 

Detailed Description

Base entity for Control4.

Definition at line 16 of file entity.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.control4.entity.Control4Entity.__init__ (   self,
dict  entry_data,
DataUpdateCoordinator[Any]  coordinator,
str | None  name,
int  idx,
str | None  device_name,
str | None  device_manufacturer,
str | None  device_model,
int  device_id 
)
Initialize a Control4 entity.

Definition at line 19 of file entity.py.

Member Function Documentation

◆ device_info()

DeviceInfo homeassistant.components.control4.entity.Control4Entity.device_info (   self)
Return info of parent Control4 device of entity.

Definition at line 43 of file entity.py.

Member Data Documentation

◆ _attr_name

homeassistant.components.control4.entity.Control4Entity._attr_name
private

Definition at line 33 of file entity.py.

◆ _attr_unique_id

homeassistant.components.control4.entity.Control4Entity._attr_unique_id
private

Definition at line 34 of file entity.py.

◆ _controller_unique_id

homeassistant.components.control4.entity.Control4Entity._controller_unique_id
private

Definition at line 36 of file entity.py.

◆ _device_id

homeassistant.components.control4.entity.Control4Entity._device_id
private

Definition at line 40 of file entity.py.

◆ _device_manufacturer

homeassistant.components.control4.entity.Control4Entity._device_manufacturer
private

Definition at line 38 of file entity.py.

◆ _device_model

homeassistant.components.control4.entity.Control4Entity._device_model
private

Definition at line 39 of file entity.py.

◆ _device_name

homeassistant.components.control4.entity.Control4Entity._device_name
private

Definition at line 37 of file entity.py.

◆ _idx

homeassistant.components.control4.entity.Control4Entity._idx
private

Definition at line 35 of file entity.py.

◆ entry_data

homeassistant.components.control4.entity.Control4Entity.entry_data

Definition at line 32 of file entity.py.


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