Public Member Functions | |
| None | __init__ (self, ShellyBlockCoordinator coordinator, str attribute, RestEntityDescription description) |
| StateType | attribute_value (self) |
| bool | available (self) |
Public Member Functions inherited from homeassistant.helpers.update_coordinator.CoordinatorEntity | |
| None | __init__ (self, _DataUpdateCoordinatorT coordinator, Any context=None) |
| None | async_update (self) |
Public Member Functions inherited from homeassistant.components.shelly.coordinator.ShellyBlockCoordinator | |
| None | __init__ (self, HomeAssistant hass, ShellyConfigEntry entry, BlockDevice device) |
| None | async_setup (self, list[Platform]|None pending_platforms=None) |
| CALLBACK_TYPE | async_subscribe_input_events (self, Callable[[dict[str, Any]], None] input_event_callback) |
Public Attributes | |
| attribute | |
| block_coordinator | |
| entity_description | |
Public Attributes inherited from homeassistant.components.shelly.coordinator.ShellyBlockCoordinator | |
| entry | |
| model | |
Private Attributes | |
| _attr_device_info | |
| _attr_name | |
| _attr_unique_id | |
| _last_value | |
| None homeassistant.components.shelly.entity.ShellyRestAttributeEntity.__init__ | ( | self, | |
| ShellyBlockCoordinator | coordinator, | ||
| str | attribute, | ||
| RestEntityDescription | description | ||
| ) |
| StateType homeassistant.components.shelly.entity.ShellyRestAttributeEntity.attribute_value | ( | self | ) |
| bool homeassistant.components.shelly.entity.ShellyRestAttributeEntity.available | ( | self | ) |
Available.
Reimplemented from homeassistant.helpers.update_coordinator.CoordinatorEntity.
|
private |
|
private |
|
private |
|
private |
| homeassistant.components.shelly.entity.ShellyRestAttributeEntity.attribute |
| homeassistant.components.shelly.entity.ShellyRestAttributeEntity.block_coordinator |
| homeassistant.components.shelly.entity.ShellyRestAttributeEntity.entity_description |