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

Classes

class  SwitchBotSwitch
 

Functions

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

Variables

int PARALLEL_UPDATES = 0
 

Detailed Description

Support for Switchbot bot.

Function Documentation

◆ async_setup_entry()

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

Definition at line 21 of file switch.py.

Variable Documentation

◆ PARALLEL_UPDATES

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

Definition at line 18 of file switch.py.