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

Classes

class  SW16Switch
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 
def devices_from_entities (hass, entry)
 

Variables

int PARALLEL_UPDATES = 0
 

Detailed Description

Support for HLK-SW16 switches.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.hlk_sw16.switch.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up the HLK-SW16 platform.

Definition at line 28 of file switch.py.

◆ devices_from_entities()

def homeassistant.components.hlk_sw16.switch.devices_from_entities (   hass,
  entry 
)
Parse configuration and add HLK-SW16 switch devices.

Definition at line 17 of file switch.py.

Variable Documentation

◆ PARALLEL_UPDATES

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

Definition at line 14 of file switch.py.