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

Public Member Functions

None __init__ (self, aiopulse.Roller roller)
 
None async_added_to_hass (self)
 
None async_remove_and_unregister (self)
 
None async_will_remove_from_hass (self)
 
str device_id (self)
 
dr.DeviceInfo device_info (self)
 
None notify_update (self)
 
str unique_id (self)
 

Public Attributes

 roller
 

Static Private Attributes

bool _attr_has_entity_name = True
 
bool _attr_should_poll = False
 

Detailed Description

Base representation of an Acmeda roller.

Definition at line 14 of file entity.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.acmeda.entity.AcmedaEntity.__init__ (   self,
aiopulse.Roller  roller 
)
Initialize the roller.

Definition at line 20 of file entity.py.

Member Function Documentation

◆ async_added_to_hass()

None homeassistant.components.acmeda.entity.AcmedaEntity.async_added_to_hass (   self)
Entity has been added to hass.

Definition at line 45 of file entity.py.

◆ async_remove_and_unregister()

None homeassistant.components.acmeda.entity.AcmedaEntity.async_remove_and_unregister (   self)
Unregister from registries and call entity remove function.

Definition at line 24 of file entity.py.

◆ async_will_remove_from_hass()

None homeassistant.components.acmeda.entity.AcmedaEntity.async_will_remove_from_hass (   self)
Entity being removed from hass.

Definition at line 57 of file entity.py.

◆ device_id()

str homeassistant.components.acmeda.entity.AcmedaEntity.device_id (   self)
Return the ID of this roller.

Definition at line 73 of file entity.py.

◆ device_info()

dr.DeviceInfo homeassistant.components.acmeda.entity.AcmedaEntity.device_info (   self)
Return the device info.

Definition at line 78 of file entity.py.

◆ notify_update()

None homeassistant.components.acmeda.entity.AcmedaEntity.notify_update (   self)
Write updated device state information.

Definition at line 62 of file entity.py.

◆ unique_id()

str homeassistant.components.acmeda.entity.AcmedaEntity.unique_id (   self)
Return the unique ID of this roller.

Definition at line 68 of file entity.py.

Member Data Documentation

◆ _attr_has_entity_name

bool homeassistant.components.acmeda.entity.AcmedaEntity._attr_has_entity_name = True
staticprivate

Definition at line 18 of file entity.py.

◆ _attr_should_poll

bool homeassistant.components.acmeda.entity.AcmedaEntity._attr_should_poll = False
staticprivate

Definition at line 17 of file entity.py.

◆ roller

homeassistant.components.acmeda.entity.AcmedaEntity.roller

Definition at line 22 of file entity.py.


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