Public Member Functions | |
| def | __init__ (self, config, server, coordinator) |
| def | async_action (self, action, **add_pars) |
| bool | available (self) |
| def | channel_data (self) |
| str|None | name (self) |
| str | unique_id (self) |
Public Member Functions inherited from homeassistant.helpers.update_coordinator.CoordinatorEntity | |
| None | __init__ (self, _DataUpdateCoordinatorT coordinator, Any context=None) |
| None | async_update (self) |
Public Attributes | |
| channel_id | |
| server | |
| server_name | |
Base class of a SUPLA Channel (an equivalent of HA's Entity).
| def homeassistant.components.supla.entity.SuplaEntity.__init__ | ( | self, | |
| config, | |||
| server, | |||
| coordinator | |||
| ) |
| def homeassistant.components.supla.entity.SuplaEntity.async_action | ( | self, | |
| action, | |||
| ** | add_pars | ||
| ) |
| bool homeassistant.components.supla.entity.SuplaEntity.available | ( | self | ) |
Return True if entity is available.
Reimplemented from homeassistant.helpers.update_coordinator.CoordinatorEntity.
| def homeassistant.components.supla.entity.SuplaEntity.channel_data | ( | self | ) |
| str | None homeassistant.components.supla.entity.SuplaEntity.name | ( | self | ) |
| str homeassistant.components.supla.entity.SuplaEntity.unique_id | ( | self | ) |
| homeassistant.components.supla.entity.SuplaEntity.channel_id |
| homeassistant.components.supla.entity.SuplaEntity.server_name |