Classes | |
| class | SCSGateScenarioSwitch |
| class | SCSGateSwitch |
Functions | |
| def | _setup_scenario_switches (logger, config, scsgate, hass) |
| def | _setup_traditional_switches (logger, config, scsgate, add_entities_callback) |
| None | setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None) |
Variables | |
| string | ATTR_SCENARIO_ID = "scenario_id" |
| string | CONF_SCENARIO = "scenario" |
| string | CONF_TRADITIONAL = "traditional" |
| PLATFORM_SCHEMA | |
Support for SCSGate switches.
|
private |
|
private |
| None homeassistant.components.scsgate.switch.setup_platform | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| AddEntitiesCallback | add_entities, | ||
| DiscoveryInfoType | None | discovery_info = None |
||
| ) |
| 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" |