Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.lcn.cover.LcnOutputsCover Class Reference
Inheritance diagram for homeassistant.components.lcn.cover.LcnOutputsCover:
[legend]
Collaboration diagram for homeassistant.components.lcn.cover.LcnOutputsCover:
[legend]

Public Member Functions

None __init__ (self, ConfigType config, ConfigEntry config_entry)
 
None async_added_to_hass (self)
 
None async_close_cover (self, **Any kwargs)
 
None async_open_cover (self, **Any kwargs)
 
None async_stop_cover (self, **Any kwargs)
 
None async_will_remove_from_hass (self)
 
None input_received (self, InputType input_obj)
 
- Public Member Functions inherited from homeassistant.components.lcn.entity.LcnEntity
DeviceInfo|None device_info (self)
 
str name (self)
 
str unique_id (self)
 
- Public Member Functions inherited from homeassistant.helpers.entity.Entity
None __init_subclass__ (cls, **Any kwargs)
 
str __repr__ (self)
 
None add_to_platform_abort (self)
 
None add_to_platform_finish (self)
 
None add_to_platform_start (self, HomeAssistant hass, EntityPlatform platform, asyncio.Semaphore|None parallel_updates)
 
bool assumed_state (self)
 
None async_device_update (self, bool warning=True)
 
None async_internal_added_to_hass (self)
 
None async_internal_will_remove_from_hass (self)
 
None async_on_remove (self, CALLBACK_TYPE func)
 
None async_registry_entry_updated (self)
 
None async_remove (self, *bool force_remove=False)
 
None async_removed_from_registry (self)
 
None async_schedule_update_ha_state (self, bool force_refresh=False)
 
None async_set_context (self, Context context)
 
None async_update_ha_state (self, bool force_refresh=False)
 
None async_write_ha_state (self)
 
str|None attribution (self)
 
bool available (self)
 
dict[str, Any]|None capability_attributes (self)
 
str|None device_class (self)
 
bool enabled (self)
 
EntityCategory|None entity_category (self)
 
str|None entity_picture (self)
 
bool entity_registry_enabled_default (self)
 
bool entity_registry_visible_default (self)
 
Mapping[str, Any]|None extra_state_attributes (self)
 
bool force_update (self)
 
HassJobType get_hassjob_type (self, str function_name)
 
er.EntityOptionsType|None get_initial_entity_options (self)
 
bool has_entity_name (self)
 
str|None icon (self)
 
None schedule_update_ha_state (self, bool force_refresh=False)
 
bool should_poll (self)
 
StateType state (self)
 
dict[str, Any]|None state_attributes (self)
 
str|None suggested_object_id (self)
 
int|None supported_features (self)
 
str|None translation_key (self)
 
Mapping[str, strtranslation_placeholders (self)
 
str|None unit_of_measurement (self)
 
bool use_device_name (self)
 
- Public Member Functions inherited from homeassistant.helpers.entity.CachedProperties
None __init__ (cls, str name, tuple[type,...] bases, dict[Any, Any] namespace, **Any kwargs)
 
Any __new__ (mcs, str name, tuple[type,...] bases, dict[Any, Any] namespace, set[str]|None cached_properties=None, **Any kwargs)
 

Public Attributes

 output_ids
 
 reverse_time
 
- Public Attributes inherited from homeassistant.components.lcn.entity.LcnEntity
 config
 
 config_entry
 
 device_connection
 
- Public Attributes inherited from homeassistant.helpers.entity.Entity
 device_entry
 
 entity_id
 
 hass
 
 parallel_updates
 
 platform
 
 registry_entry
 

Private Attributes

 _attr_is_closed
 
 _attr_is_closing
 
 _attr_is_opening
 

Static Private Attributes

bool _attr_assumed_state = True
 
bool _attr_is_closed = False
 
bool _attr_is_closing = False
 
bool _attr_is_opening = False
 

Additional Inherited Members

- Static Public Attributes inherited from homeassistant.helpers.entity.Entity
 bool
 
 EntityPlatform
 
 HomeAssistant
 
 None
 
 StateInfo
 
 StateType
 
 str
 

Detailed Description

Representation of a LCN cover connected to output ports.

Definition at line 70 of file cover.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.lcn.cover.LcnOutputsCover.__init__ (   self,
ConfigType  config,
ConfigEntry  config_entry 
)
Initialize the LCN cover.

Reimplemented from homeassistant.components.lcn.entity.LcnEntity.

Definition at line 78 of file cover.py.

Member Function Documentation

◆ async_added_to_hass()

None homeassistant.components.lcn.cover.LcnOutputsCover.async_added_to_hass (   self)
Run when entity about to be added to hass.

Reimplemented from homeassistant.components.lcn.entity.LcnEntity.

Definition at line 93 of file cover.py.

◆ async_close_cover()

None homeassistant.components.lcn.cover.LcnOutputsCover.async_close_cover (   self,
**Any  kwargs 
)
Close the cover.

Definition at line 115 of file cover.py.

◆ async_open_cover()

None homeassistant.components.lcn.cover.LcnOutputsCover.async_open_cover (   self,
**Any  kwargs 
)
Open the cover.

Definition at line 126 of file cover.py.

◆ async_stop_cover()

None homeassistant.components.lcn.cover.LcnOutputsCover.async_stop_cover (   self,
**Any  kwargs 
)
Stop the cover.

Definition at line 138 of file cover.py.

◆ async_will_remove_from_hass()

None homeassistant.components.lcn.cover.LcnOutputsCover.async_will_remove_from_hass (   self)
Run when entity will be removed from hass.

Reimplemented from homeassistant.components.lcn.entity.LcnEntity.

Definition at line 104 of file cover.py.

◆ input_received()

None homeassistant.components.lcn.cover.LcnOutputsCover.input_received (   self,
InputType  input_obj 
)
Set cover states when LCN input object (command) is received.

Reimplemented from homeassistant.components.lcn.entity.LcnEntity.

Definition at line 147 of file cover.py.

Member Data Documentation

◆ _attr_assumed_state

bool homeassistant.components.lcn.cover.LcnOutputsCover._attr_assumed_state = True
staticprivate

Definition at line 76 of file cover.py.

◆ _attr_is_closed [1/2]

bool homeassistant.components.lcn.cover.LcnOutputsCover._attr_is_closed = False
staticprivate

Definition at line 73 of file cover.py.

◆ _attr_is_closed [2/2]

homeassistant.components.lcn.cover.LcnOutputsCover._attr_is_closed
private

Definition at line 133 of file cover.py.

◆ _attr_is_closing [1/2]

bool homeassistant.components.lcn.cover.LcnOutputsCover._attr_is_closing = False
staticprivate

Definition at line 74 of file cover.py.

◆ _attr_is_closing [2/2]

homeassistant.components.lcn.cover.LcnOutputsCover._attr_is_closing
private

Definition at line 123 of file cover.py.

◆ _attr_is_opening [1/2]

bool homeassistant.components.lcn.cover.LcnOutputsCover._attr_is_opening = False
staticprivate

Definition at line 75 of file cover.py.

◆ _attr_is_opening [2/2]

homeassistant.components.lcn.cover.LcnOutputsCover._attr_is_opening
private

Definition at line 122 of file cover.py.

◆ output_ids

homeassistant.components.lcn.cover.LcnOutputsCover.output_ids

Definition at line 82 of file cover.py.

◆ reverse_time

homeassistant.components.lcn.cover.LcnOutputsCover.reverse_time

Definition at line 87 of file cover.py.


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