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

Public Member Functions

None __init__ (self, PydeconzScene device, DeconzHub hub)
 
DeviceInfo device_info (self)
 
str get_device_identifier (self)
 
str get_parent_identifier (self)
 
str unique_id (self)
 

Public Attributes

 group
 

Private Attributes

 _attr_name
 
 _group_identifier
 

Static Private Attributes

bool _attr_has_entity_name = True
 

Detailed Description

Representation of a deCONZ scene.

Definition at line 144 of file entity.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.deconz.entity.DeconzSceneMixin.__init__ (   self,
PydeconzScene  device,
DeconzHub  hub 
)
Set up a scene.

Definition at line 149 of file entity.py.

Member Function Documentation

◆ device_info()

DeviceInfo homeassistant.components.deconz.entity.DeconzSceneMixin.device_info (   self)
Return a device description for device registry.

Definition at line 176 of file entity.py.

◆ get_device_identifier()

str homeassistant.components.deconz.entity.DeconzSceneMixin.get_device_identifier (   self)
Describe a unique identifier for this scene.

Reimplemented in homeassistant.components.deconz.button.DeconzSceneButton.

Definition at line 162 of file entity.py.

◆ get_parent_identifier()

str homeassistant.components.deconz.entity.DeconzSceneMixin.get_parent_identifier (   self)
Describe a unique identifier for group this scene belongs to.

Definition at line 166 of file entity.py.

◆ unique_id()

str homeassistant.components.deconz.entity.DeconzSceneMixin.unique_id (   self)
Return a unique identifier for this scene.

Definition at line 171 of file entity.py.

Member Data Documentation

◆ _attr_has_entity_name

bool homeassistant.components.deconz.entity.DeconzSceneMixin._attr_has_entity_name = True
staticprivate

Definition at line 147 of file entity.py.

◆ _attr_name

homeassistant.components.deconz.entity.DeconzSceneMixin._attr_name
private

Definition at line 159 of file entity.py.

◆ _group_identifier

homeassistant.components.deconz.entity.DeconzSceneMixin._group_identifier
private

Definition at line 160 of file entity.py.

◆ group

homeassistant.components.deconz.entity.DeconzSceneMixin.group

Definition at line 157 of file entity.py.


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