List of available actions
Actions are the things Home Assistant can do for you, like turning a light on, setting a thermostat, playing music, or restarting the system. They are the building blocks of automations and scripts.
Browse the full list below, or use the search box to find a specific action by name or description. Each action has its own page with a step-by-step UI walkthrough, examples, and a complete data field reference.
New to actions? Read about actions in automations and scripts to learn how they fit together.
Alarm control panel
-
Arm alarm away
alarm_control_panel.alarm_arm_awayArm an alarm control panel in away mode. Optionally provide a code if your alarm panel requires one. -
Arm alarm with custom bypass
alarm_control_panel.alarm_arm_custom_bypassArm an alarm control panel while bypassing specific zones. Optionally provide a code if your alarm panel requires one. -
Arm alarm home
alarm_control_panel.alarm_arm_homeArm an alarm control panel in home mode. Optionally provide a code if your alarm panel requires one. -
Arm alarm night
alarm_control_panel.alarm_arm_nightArm an alarm control panel in night mode. Optionally provide a code if your alarm panel requires one. -
Arm alarm vacation
alarm_control_panel.alarm_arm_vacationArm an alarm control panel in vacation mode. Optionally provide a code if your alarm panel requires one. -
Disarm alarm
alarm_control_panel.alarm_disarmDisarm an alarm control panel. Optionally provide a code if your alarm panel requires one. -
Trigger alarm
alarm_control_panel.alarm_triggerManually trigger an alarm control panel. Optionally provide a code if your alarm panel requires one.
Fan
-
Decrease fan speed
fan.decrease_speedDecrease the speed of a fan. -
Increase fan speed
fan.increase_speedIncrease the speed of a fan. -
Oscillate fan
fan.oscillateControl the oscillation of a fan. -
Set fan direction
fan.set_directionSet a fan's rotation direction. -
Set fan speed
fan.set_percentageSet the speed of a fan. -
Set fan preset mode
fan.set_preset_modeSet the preset mode of a fan. -
Toggle fan
fan.toggleToggle a fan on or off. -
Turn off fan
fan.turn_offTurn off a fan. -
Turn on fan
fan.turn_onTurn on a fan. Optionally set the speed or preset mode at the same time.
Light
-
Toggle a light
light.toggleFlip a light between on and off. If it's off, it turns on. If it's on, it turns off. -
Turn off a light
light.turn_offTurn a light off. Optionally fade it out with a transition, or have it flash briefly before it goes dark. -
Turn on a light
light.turn_onTurn a light on. Optionally set brightness, color, color temperature, an effect, or a transition.
Vacuum
-
Clean area
vacuum.clean_areaCleans specific mapped areas using vacuum segments. -
Clean spot
vacuum.clean_spotPerforms a spot cleaning at the vacuum's location. -
Locate vacuum
vacuum.locatePlays a sound or flashes lights to help you find the vacuum. -
Pause cleaning
vacuum.pausePauses the current cleaning task on a vacuum. -
Return to base
vacuum.return_to_baseSends the vacuum to the charging dock. -
Send command
vacuum.send_commandSend a platform-specific command or advanced function. -
Set fan speed
vacuum.set_fan_speedSets the fan/power level for cleaning. -
Start cleaning
vacuum.startStarts or resumes a cleaning task on a vacuum. -
Start or pause cleaning
vacuum.start_pauseStarts, pauses, or resumes a vacuum cleaner's cleaning task. -
Stop vacuum
vacuum.stopStops the current activity of a vacuum. -
Toggle vacuum power
vacuum.toggleToggles a vacuum cleaner on or off. -
Turn off vacuum
vacuum.turn_offTurns off a vacuum cleaner. -
Turn on vacuum
vacuum.turn_onTurns on a vacuum cleaner.