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

Classes

class  TRIGGERcmdSwitch
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

Platform for switch integration.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.triggercmd.switch.async_setup_entry ( HomeAssistant  hass,
TriggercmdConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Add switch for passed config_entry in HA.

Definition at line 20 of file switch.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 17 of file switch.py.