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

Public Member Functions

None async_select_option (self, str option)
 
str|None current_option (self)
 

Static Public Attributes

 TYPE = SELECT_DOMAIN
 
string unique_id_suffix = "device_mode"
 

Static Private Attributes

 _attr_entity_category = EntityCategory.CONFIG
 
list _attr_options
 
string _name_suffix = "Device Mode"
 
string _update_key = "devicemode"
 

Detailed Description

Representation of a deCONZ presence device mode entity.

Definition at line 103 of file select.py.

Member Function Documentation

◆ async_select_option()

None homeassistant.components.deconz.select.DeconzPresenceDeviceModeSelect.async_select_option (   self,
str  option 
)
Change the selected option.

Definition at line 125 of file select.py.

◆ current_option()

str | None homeassistant.components.deconz.select.DeconzPresenceDeviceModeSelect.current_option (   self)
Return the selected entity option to represent the entity state.

Definition at line 119 of file select.py.

Member Data Documentation

◆ _attr_entity_category

homeassistant.components.deconz.select.DeconzPresenceDeviceModeSelect._attr_entity_category = EntityCategory.CONFIG
staticprivate

Definition at line 110 of file select.py.

◆ _attr_options

list homeassistant.components.deconz.select.DeconzPresenceDeviceModeSelect._attr_options
staticprivate
Initial value:
= [
PresenceConfigDeviceMode.LEFT_AND_RIGHT.value,
PresenceConfigDeviceMode.UNDIRECTED.value,
]

Definition at line 111 of file select.py.

◆ _name_suffix

string homeassistant.components.deconz.select.DeconzPresenceDeviceModeSelect._name_suffix = "Device Mode"
staticprivate

Definition at line 106 of file select.py.

◆ _update_key

string homeassistant.components.deconz.select.DeconzPresenceDeviceModeSelect._update_key = "devicemode"
staticprivate

Definition at line 108 of file select.py.

◆ TYPE

homeassistant.components.deconz.select.DeconzPresenceDeviceModeSelect.TYPE = SELECT_DOMAIN
static

Definition at line 116 of file select.py.

◆ unique_id_suffix

string homeassistant.components.deconz.select.DeconzPresenceDeviceModeSelect.unique_id_suffix = "device_mode"
static

Definition at line 107 of file select.py.


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