|
| 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) |
| |
| None | __init__ (self, _DataUpdateCoordinatorT coordinator, Any context=None) |
| |
| None | async_update (self) |
| |
| bool | available (self) |
| |
Base entity for Control4.
Definition at line 16 of file entity.py.
◆ __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.
◆ 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.
◆ _attr_name
| homeassistant.components.control4.entity.Control4Entity._attr_name |
|
private |
◆ _attr_unique_id
| homeassistant.components.control4.entity.Control4Entity._attr_unique_id |
|
private |
◆ _controller_unique_id
| homeassistant.components.control4.entity.Control4Entity._controller_unique_id |
|
private |
◆ _device_id
| homeassistant.components.control4.entity.Control4Entity._device_id |
|
private |
◆ _device_manufacturer
| homeassistant.components.control4.entity.Control4Entity._device_manufacturer |
|
private |
◆ _device_model
| homeassistant.components.control4.entity.Control4Entity._device_model |
|
private |
◆ _device_name
| homeassistant.components.control4.entity.Control4Entity._device_name |
|
private |
◆ _idx
| homeassistant.components.control4.entity.Control4Entity._idx |
|
private |
◆ entry_data
| homeassistant.components.control4.entity.Control4Entity.entry_data |
The documentation for this class was generated from the following file:
- core/homeassistant/components/control4/entity.py