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

Classes

class  Switch
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

Switches on Zigbee Home Automation networks.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.zha.switch.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the Zigbee Home Automation switch from config entry.

Definition at line 27 of file switch.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 24 of file switch.py.