Public Member Functions | |
| None | __init__ (self, DeviceDataUpdateCoordinator coordinator, EntityDescription entity_description, str property_id) |
| None | async_added_to_hass (self) |
| None | async_call_api (self, Coroutine[Any, Any, Any] target, Callable[[], None]|None on_fail_method=None) |
| PropertyState | data (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 Member Functions inherited from homeassistant.components.lg_thinq.coordinator.DeviceDataUpdateCoordinator | |
| None | __init__ (self, HomeAssistant hass, HABridge ha_bridge) |
| None | handle_notification_message (self, str|None message) |
| None | handle_update_status (self, dict[str, Any] status) |
| None | refresh_status (self) |
Public Member Functions inherited from homeassistant.helpers.update_coordinator.DataUpdateCoordinator | |
| None | __init__ (self, HomeAssistant hass, logging.Logger logger, *config_entries.ConfigEntry|None|UndefinedType config_entry=UNDEFINED, str name, timedelta|None update_interval=None, Callable[[], Awaitable[_DataT]]|None update_method=None, Callable[[], Awaitable[None]]|None setup_method=None, Debouncer[Coroutine[Any, Any, None]]|None request_refresh_debouncer=None, bool always_update=True) |
| Callable[[], None] | async_add_listener (self, CALLBACK_TYPE update_callback, Any context=None) |
| None | async_config_entry_first_refresh (self) |
| Generator[Any] | async_contexts (self) |
| None | async_refresh (self) |
| None | async_register_shutdown (self) |
| None | async_request_refresh (self) |
| None | async_set_update_error (self, Exception err) |
| None | async_set_updated_data (self, _DataT data) |
| None | async_shutdown (self) |
| None | async_update_listeners (self) |
| timedelta|None | update_interval (self) |
| None | update_interval (self, timedelta|None value) |
Public Attributes | |
| entity_description | |
| location | |
| property_id | |
Public Attributes inherited from homeassistant.components.lg_thinq.coordinator.DeviceDataUpdateCoordinator | |
| api | |
| data | |
| device_id | |
| device_name | |
| sub_id | |
| unique_id | |
Public Attributes inherited from homeassistant.helpers.update_coordinator.DataUpdateCoordinator | |
| always_update | |
| config_entry | |
| data | |
| hass | |
| last_exception | |
| last_update_success | |
| logger | |
| name | |
| setup_method | |
| update_interval | |
| update_method | |
Private Member Functions | |
| str|None | _get_unit_of_measurement (self, str|None unit) |
| None | _handle_coordinator_update (self) |
| None | _update_status (self) |
Private Attributes | |
| _attr_device_info | |
| _attr_translation_key | |
| _attr_translation_placeholders | |
| _attr_unique_id | |
Static Private Attributes | |
| bool | _attr_has_entity_name = True |
| None homeassistant.components.lg_thinq.entity.ThinQEntity.__init__ | ( | self, | |
| DeviceDataUpdateCoordinator | coordinator, | ||
| EntityDescription | entity_description, | ||
| str | property_id | ||
| ) |
|
private |
|
private |
|
private |
Update status itself. All inherited classes can update their own status in here.
Reimplemented in homeassistant.components.lg_thinq.vacuum.ThinQStateVacuumEntity, homeassistant.components.lg_thinq.switch.ThinQSwitchEntity, homeassistant.components.lg_thinq.sensor.ThinQSensorEntity, homeassistant.components.lg_thinq.select.ThinQSelectEntity, homeassistant.components.lg_thinq.number.ThinQNumberEntity, homeassistant.components.lg_thinq.fan.ThinQFanEntity, homeassistant.components.lg_thinq.event.ThinQEventEntity, homeassistant.components.lg_thinq.climate.ThinQClimateEntity, and homeassistant.components.lg_thinq.binary_sensor.ThinQBinarySensorEntity.
| None homeassistant.components.lg_thinq.entity.ThinQEntity.async_added_to_hass | ( | self | ) |
| None homeassistant.components.lg_thinq.entity.ThinQEntity.async_call_api | ( | self, | |
| Coroutine[Any, Any, Any] | target, | ||
| Callable[[], None] | None | on_fail_method = None |
||
| ) |
| PropertyState homeassistant.components.lg_thinq.entity.ThinQEntity.data | ( | self | ) |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
| homeassistant.components.lg_thinq.entity.ThinQEntity.entity_description |
| homeassistant.components.lg_thinq.entity.ThinQEntity.location |
| homeassistant.components.lg_thinq.entity.ThinQEntity.property_id |