Classes | |
| class | ArestSwitchBase |
| class | ArestSwitchFunction |
| class | ArestSwitchPin |
Functions | |
| None | setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| string | CONF_FUNCTIONS = "functions" |
| string | CONF_INVERT = "invert" |
| string | CONF_PINS = "pins" |
| string | DEFAULT_NAME = "aREST switch" |
| PIN_FUNCTION_SCHEMA | |
| PLATFORM_SCHEMA | |
Support for an exposed aREST RESTful API of a device.
| None homeassistant.components.arest.switch.setup_platform | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| AddEntitiesCallback | add_entities, | ||
| DiscoveryInfoType | None | discovery_info = None |
||
| ) |
|
private |
| string homeassistant.components.arest.switch.CONF_FUNCTIONS = "functions" |
| string homeassistant.components.arest.switch.CONF_INVERT = "invert" |
| string homeassistant.components.arest.switch.CONF_PINS = "pins" |
| string homeassistant.components.arest.switch.DEFAULT_NAME = "aREST switch" |
| homeassistant.components.arest.switch.PIN_FUNCTION_SCHEMA |
| homeassistant.components.arest.switch.PLATFORM_SCHEMA |