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

Classes

class  SuplaSwitchEntity
 

Functions

None async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

Support for SUPLA switch.

Function Documentation

◆ async_setup_platform()

None homeassistant.components.supla.switch.async_setup_platform ( HomeAssistant  hass,
ConfigType  config,
AddEntitiesCallback  async_add_entities,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the SUPLA switches.

Definition at line 20 of file switch.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.supla.switch._LOGGER = logging.getLogger(__name__)
private

Definition at line 17 of file switch.py.