Public Member Functions | |
| None | __init__ (self, ShellyRpcCoordinator coordinator, str key) |
| None | async_added_to_hass (self) |
| bool | available (self) |
| Any | call_rpc (self, str method, Any params) |
| dict | status (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.ShellyRpcCoordinator | |
| None | __init__ (self, HomeAssistant hass, ShellyConfigEntry entry, RpcDevice device) |
| None | async_device_online (self, str source) |
| None | async_setup (self, list[Platform]|None pending_platforms=None) |
| CALLBACK_TYPE | async_subscribe_events (self, Callable[[dict[str, Any]], None] event_callback) |
| CALLBACK_TYPE | async_subscribe_input_events (self, Callable[[dict[str, Any]], None] input_event_callback) |
| CALLBACK_TYPE | async_subscribe_ota_events (self, Callable[[dict[str, Any]], None] ota_event_callback) |
| None | shutdown (self) |
| bool | update_sleep_period (self) |
Public Attributes | |
| key | |
Public Attributes inherited from homeassistant.components.shelly.coordinator.ShellyRpcCoordinator | |
| connected | |
| entry | |
| last_update_success | |
| update_interval | |
Private Member Functions | |
| None | _update_callback (self) |
Private Attributes | |
| _attr_device_info | |
| _attr_name | |
| _attr_unique_id | |
| None homeassistant.components.shelly.entity.ShellyRpcEntity.__init__ | ( | self, | |
| ShellyRpcCoordinator | coordinator, | ||
| str | key | ||
| ) |
|
private |
| None homeassistant.components.shelly.entity.ShellyRpcEntity.async_added_to_hass | ( | self | ) |
| bool homeassistant.components.shelly.entity.ShellyRpcEntity.available | ( | self | ) |
Check if device is available and initialized or sleepy.
Reimplemented from homeassistant.helpers.update_coordinator.CoordinatorEntity.
Reimplemented in homeassistant.components.shelly.entity.ShellyRpcAttributeEntity.
| Any homeassistant.components.shelly.entity.ShellyRpcEntity.call_rpc | ( | self, | |
| str | method, | ||
| Any | params | ||
| ) |
| dict homeassistant.components.shelly.entity.ShellyRpcEntity.status | ( | self | ) |
|
private |
|
private |
|
private |
| homeassistant.components.shelly.entity.ShellyRpcEntity.key |