Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.lookin.entity.LookinPowerPushRemoteEntity Class Reference
Inheritance diagram for homeassistant.components.lookin.entity.LookinPowerPushRemoteEntity:
[legend]
Collaboration diagram for homeassistant.components.lookin.entity.LookinPowerPushRemoteEntity:
[legend]

Public Member Functions

None __init__ (self, LookinDataUpdateCoordinator[Remote] coordinator, str uuid, Remote device, LookinData lookin_data)
 
None async_added_to_hass (self)
 
- Public Member Functions inherited from homeassistant.components.lookin.entity.LookinPowerEntity
None __init__ (self, LookinDataUpdateCoordinator[Remote] coordinator, str uuid, Remote|Climate device, LookinData lookin_data)
 
- 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.lookin.coordinator.LookinDataUpdateCoordinator
None __init__ (self, HomeAssistant hass, LookinPushCoordinator push_coordinator, str name, timedelta|None update_interval=None, Callable[[], Awaitable[_DataT]]|None update_method=None)
 
None async_set_updated_data (self, _DataT data)
 
- 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_shutdown (self)
 
None async_update_listeners (self)
 
timedelta|None update_interval (self)
 
None update_interval (self, timedelta|None value)
 

Private Member Functions

None _async_push_update (self, UDPEvent event)
 
None _async_push_update_device (self, UDPEvent event)
 
Remote _remote (self)
 
None _update_from_status (self, str status)
 

Private Attributes

 _attr_name
 

Additional Inherited Members

- Public Attributes inherited from homeassistant.components.lookin.coordinator.LookinDataUpdateCoordinator
 push_coordinator
 
- 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
 

Detailed Description

A Lookin entity that has a power on and power off command with push updates.

Definition at line 149 of file entity.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.lookin.entity.LookinPowerPushRemoteEntity.__init__ (   self,
LookinDataUpdateCoordinator[Remote]  coordinator,
str  uuid,
Remote  device,
LookinData  lookin_data 
)
Init the entity.

Definition at line 152 of file entity.py.

Member Function Documentation

◆ _async_push_update()

None homeassistant.components.lookin.entity.LookinPowerPushRemoteEntity._async_push_update (   self,
UDPEvent  event 
)
private
Process an update pushed via UDP.

Definition at line 172 of file entity.py.

◆ _async_push_update_device()

None homeassistant.components.lookin.entity.LookinPowerPushRemoteEntity._async_push_update_device (   self,
UDPEvent  event 
)
private
Process an update pushed via UDP.

Definition at line 178 of file entity.py.

◆ _remote()

Remote homeassistant.components.lookin.entity.LookinPowerPushRemoteEntity._remote (   self)
private

Definition at line 165 of file entity.py.

◆ _update_from_status()

None homeassistant.components.lookin.entity.LookinPowerPushRemoteEntity._update_from_status (   self,
str  status 
)
private
Update properties from status.

Reimplemented in homeassistant.components.lookin.media_player.LookinMedia, and homeassistant.components.lookin.light.LookinLightEntity.

Definition at line 169 of file entity.py.

◆ async_added_to_hass()

None homeassistant.components.lookin.entity.LookinPowerPushRemoteEntity.async_added_to_hass (   self)
Call when the entity is added to hass.

Reimplemented in homeassistant.components.lookin.media_player.LookinMedia.

Definition at line 184 of file entity.py.

Member Data Documentation

◆ _attr_name

homeassistant.components.lookin.entity.LookinPowerPushRemoteEntity._attr_name
private

Definition at line 162 of file entity.py.


The documentation for this class was generated from the following file: