Go to the source code of this file.
Namespaces | |
| homeassistant.components.switch.device_action | |
Functions | |
| None | homeassistant.components.switch.device_action.async_call_action_from_config (HomeAssistant hass, ConfigType config, TemplateVarsType variables, Context|None context) |
| list[dict[str, str]] | homeassistant.components.switch.device_action.async_get_actions (HomeAssistant hass, str device_id) |
| ConfigType | homeassistant.components.switch.device_action.async_validate_action_config (HomeAssistant hass, ConfigType config) |
Variables | |
| homeassistant.components.switch.device_action._ACTION_SCHEMA = toggle_entity.ACTION_SCHEMA.extend({vol.Required(CONF_DOMAIN): DOMAIN}) | |