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

Classes

class  SomfyShade
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
dictionary MYLINK_COVER_TYPE_TO_DEVICE_CLASS
 

Detailed Description

Cover Platform for the Somfy MyLink component.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.somfy_mylink.cover.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Discover and configure Somfy covers.

Definition at line 29 of file cover.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 21 of file cover.py.

◆ MYLINK_COVER_TYPE_TO_DEVICE_CLASS

dictionary homeassistant.components.somfy_mylink.cover.MYLINK_COVER_TYPE_TO_DEVICE_CLASS
Initial value:
1 = {
2  0: CoverDeviceClass.BLIND,
3  1: CoverDeviceClass.SHUTTER,
4 }

Definition at line 23 of file cover.py.