Home Assistant Unofficial Reference 2024.12.1
device_action.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.components.water_heater.device_action
 

Functions

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

Variables

 homeassistant.components.water_heater.device_action._ACTION_SCHEMA
 
dictionary homeassistant.components.water_heater.device_action.ACTION_TYPES = {"turn_on", "turn_off"}