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

Classes

class  SwitchBotBlindTiltEntity
 
class  SwitchBotCurtainEntity
 

Functions

None async_setup_entry (HomeAssistant hass, SwitchbotConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
int PARALLEL_UPDATES = 0
 

Detailed Description

Support for SwitchBot curtains.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.switchbot.cover.async_setup_entry ( HomeAssistant  hass,
SwitchbotConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up Switchbot curtain based on a config entry.

Definition at line 31 of file cover.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 27 of file cover.py.

◆ PARALLEL_UPDATES

int homeassistant.components.switchbot.cover.PARALLEL_UPDATES = 0

Definition at line 28 of file cover.py.