Home Assistant Unofficial Reference 2024.12.1
device_action.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.components.fan.device_action
 

Functions

None homeassistant.components.fan.device_action.async_call_action_from_config (HomeAssistant hass, ConfigType config, TemplateVarsType variables, Context|None context)
 
list[dict[str, str]] homeassistant.components.fan.device_action.async_get_actions (HomeAssistant hass, str device_id)
 
ConfigType homeassistant.components.fan.device_action.async_validate_action_config (HomeAssistant hass, ConfigType config)
 

Variables

 homeassistant.components.fan.device_action._ACTION_SCHEMA = toggle_entity.ACTION_SCHEMA.extend({vol.Required(CONF_DOMAIN): DOMAIN})