Home Assistant Unofficial Reference 2024.12.1
switch.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.scsgate.switch.SCSGateScenarioSwitch
 
class  homeassistant.components.scsgate.switch.SCSGateSwitch
 

Namespaces

 homeassistant.components.scsgate.switch
 

Functions

def homeassistant.components.scsgate.switch._setup_scenario_switches (logger, config, scsgate, hass)
 
def homeassistant.components.scsgate.switch._setup_traditional_switches (logger, config, scsgate, add_entities_callback)
 
None homeassistant.components.scsgate.switch.setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

string homeassistant.components.scsgate.switch.ATTR_SCENARIO_ID = "scenario_id"
 
string homeassistant.components.scsgate.switch.CONF_SCENARIO = "scenario"
 
string homeassistant.components.scsgate.switch.CONF_TRADITIONAL = "traditional"
 
 homeassistant.components.scsgate.switch.PLATFORM_SCHEMA