Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.elmax.cover Namespace Reference

Classes

class  ElmaxCover
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

dictionary _COMMAND_BY_MOTION_STATUS
 
 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

Elmax cover platform.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.elmax.cover.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the Elmax cover platform.

Definition at line 29 of file cover.py.

Variable Documentation

◆ _COMMAND_BY_MOTION_STATUS

dictionary homeassistant.components.elmax.cover._COMMAND_BY_MOTION_STATUS
private
Initial value:
1 = { # Maps the stop command to use for every cover motion status
2  CoverStatus.DOWN: CoverCommand.DOWN,
3  CoverStatus.UP: CoverCommand.UP,
4  CoverStatus.IDLE: None,
5 }

Definition at line 22 of file cover.py.

◆ _LOGGER

homeassistant.components.elmax.cover._LOGGER = logging.getLogger(__name__)
private

Definition at line 20 of file cover.py.