Supported starters, conditions, and actions

Automations support the following starters and actions. All states are also supported as conditions.

Filter by type:

State / Event (starter)
Condition
Command (action)
Supported Fields Description
and A compound condition to represent logical AND of all the child conditions.
assistant.command.Broadcast msg
assistant.command.OkGoogle okg
assistant.event.OkGoogle query
device.command.ActivateScene activate
device.command.AppInstall newApplicationName Install an application on the given device.
device.command.AppSearch newApplicationName Search for the given application.
device.command.AppSelect newApplicationName Select the given application.
device.command.ArmDisarm arm
armLevel
cancel
Set the alarm level of the device.
device.command.BrightnessAbsolute brightness Adjust device absolute brightness.
device.command.BrightnessRelative brightnessRelativePercent
brightnessRelativeWeight
Adjust device relative brightness.
device.command.Charge charge
device.command.ColorAbsolute color.hsv.hsvValue
color.hsv.hue
color.hsv.saturation
color.name
color.rgb
color.temperature
device.command.Cook cookingMode
foodPreset
quantity
start
unit
device.command.Dispense amount
item
presetName
unit
device.command.Dock Dock the device.
device.command.EnableDisableGuestNetwork enable
device.command.EnableDisableNetworkProfile enable
profile
device.command.Fill fill
fillLevel
device.command.FindMyDevice silence
device.command.HumidityRelative relativeHumidityPercent
relativeHumidityWeight
device.command.LightEffectColorLoop duration
device.command.LightEffectPulse duration
device.command.LightEffectSleep duration
device.command.LightEffectWake duration
device.command.LockUnlock lock Lock or unlock the device.
device.command.MediaNext Skip to next media item.
device.command.MediaPause Pause media playback.
device.command.MediaPrevious Skip to previous media item.
device.command.MediaResume Resume media playback.
device.command.MediaShuffle Shuffle the current playlist.
device.command.MediaStop Stop media playback.
device.command.Mute mute Mute or unmute the given device.
device.command.NextInput Switch to the next input.
device.command.OnOff on Turn the device on or off.
device.command.OpenClose openDirection
openPercent
Set the open-close state of the device
device.command.PauseUnpause pause Pause or unpause device operation.
device.command.PreviousInput Switch to the previous input.
device.command.Reboot
device.command.RelativeChannel channelRelativeCount
device.command.ReturnChannel
device.command.ReverseFan
device.command.RotateAbsolute rotationDegrees
rotationPercent
device.command.SelectChannel channelCode
channelName
channelNumber
Set the current channel to a specific value.
device.command.SetFanSpeed fanSpeed
device.command.SetFanSpeedRelative fanSpeedRelativePercent
fanSpeedRelativeWeight
device.command.SetHumidity humidity
device.command.SetInput newInput Set the media input.
device.command.SetVolume volumeLevel Set the volume of a given device.
device.command.StartStop start Start or stop the device.
device.command.StopLightEffect
device.command.ThermostatSetMode setMode Set the target operating mode for a thermostat device.
device.command.ThermostatTemperatureSetpoint setpoint Set the target temperature for a thermostat device.
device.command.ThermostatTemperatureSetRange high
low
Set a target temperature range for a thermostat device.
device.command.TimerAdjust timerTimeSec Adjust the timer duration.
device.command.TimerCancel Cancel the timer.
device.command.TimerPause Pause timer.
device.command.TimerResume
device.command.TimerStart timerStartSec Start a new timer.
device.event.AnimalCatDetection A cat has been detected by the camera.
device.event.AnimalDogDetection A dog has been detected by the camera.
device.event.AnimalOtherDetection An animal has been detected by the camera.
device.event.DoorbellPress A doorbell has been pressed.
device.event.FaceFamiliarDetection A familiar face has been detected by the camera.
device.event.FaceUnfamiliarDetection An unfamiliar face has been detected by the camera.
device.event.MotionDetection Motion has been detected by the device.
device.event.MovingVehicleDetection A moving vehicle has been detected by the camera.
device.event.PackageDelivered A delivered package has been detected by the camera.
device.event.PersonDetection A person has been detected by the camera.
device.event.PersonTalking The sound of person talking has been detected by the device.
device.event.Sound A sound has been detected by the device.
device.state.AppSelector currentApplication This function is used for devices which are able to switch inputs.
device.state.ArmDisarm currentArmLevel
isArmed
This function supports arming and disarming as used in, for example, security systems.
device.state.Brightness brightness This function covers how to control the brightness of a device.
device.state.Channel This function belongs to devices that support TV channels on a media device.
device.state.ColorSetting color.spectrumHsv.hue
color.spectrumHsv.saturation
color.spectrumHsv.value
color.spectrumRgb
color.temperatureK
device.state.Cook currentCookingMode
currentFoodPreset
device.state.Dock isDocked
device.state.EnergyStorage descriptiveCapacityRemaining
isCharging
isPluggedIn
device.state.FanSpeed currentFanSpeedPercent
currentFanSpeedSetting
Enables querying fan speeds (that is, blowing air from the device at various levels, which may be part of an air conditioning or heating unit, or in a car). May include settings such as low, medium, and high, or a percentage.
device.state.Fill currentFillLevel
currentFillPercent
isFilled
Enables querying devices that support being filled, such as a bathtub.
device.state.HumiditySetting humidityAmbientPercent
humiditySetpointPercent
Enables querying devices that support humidity settings such as humidifiers and dehumidifiers.
device.state.InputSelector currentInput Enables querying devices which are able to switch inputs. Media inputs can have dynamic names per device that represent audio or video feeds. These feeds can be hardwired or networked, but they should be named and reasonably persistent. This does not support arbitrary ephemeral feeds, such as a searchable networked library. Paired, named Bluetooth sources are supported. Sources can have multiple names, so user-created and discovered names are supported, as well as default names; for example, 'hdmi_1'might also be 'DVD player,' or 'usb_1' might also be 'Hard drive'. Media inputs can be ordered to support 'next' and 'previous' commands. Note: InputSelector does not support query grammar.
device.state.LightEffects activeLightEffect Enables querying devices that can support complex lighting commands to change state, such as looping through various colors.
device.state.LockUnlock isJammed
isLocked
device.state.MediaState playbackState This function is used for devices which are able to report media states.
device.state.MotionDetection motionDetectionEventInProgress This function belongs to devices that can detect motion.
device.state.OccupancySensing occupancy This function belongs to devices that can detect occupancy, whether through PIR, ultrasonic, or physical contact sensing.
device.state.Online online
device.state.OnOff on
device.state.OpenClose openPercent
device.state.Record isCurrentlyRecording This function belongs to media devices that have a recording capability.
device.state.Rotation rotationDegrees
rotationPercent
This function belongs to devices that support rotation, such as blinds with rotatable slats.
device.state.RunCycle currentCycleRemainingTime
currentTotalRemainingTime
This function belongs to any device that has an ongoing duration for its operation which can be queried. This includes, but is not limited to, devices that operate cyclically, such as washing machines, dryers, and dishwashers.
device.state.SensorState currentSensorStateData.key
currentSensorStateData.value.currentSensorState
device.state.StartStop isPaused
isRunning
Starting and stopping a device serves a similar function to turning it on and off. It indicates that devices function differently when turned on and when started. Certain washing machines, for instance, are able to be turned on and have their settings modified before actually starting operation.
device.state.TemperatureControl temperatureAmbientCelsius
temperatureSetpointCelsius
device.state.TemperatureSetting activeThermostatMode
thermostatHumidityAmbient
thermostatMode
thermostatTemperatureAmbient
thermostatTemperatureSetpoint
thermostatTemperatureSetpointHigh
thermostatTemperatureSetpointLow
Handles temperature points and modes of a thermostat device.
device.state.Timer timerPaused Represents a timer on a device.
device.state.Volume currentVolume
isMuted
Provides volume state info.
home.command.Notification body
title
users
Send a notification to the specified home members.
home.state.HomePresence homePresenceMode
not A condition to represent logical NOT of another condition.
or A compound condition to represent logical OR of all the child conditions.
time.between Represents a time range.
time.delay Adds a pause in the automation execution.
time.schedule Represents a time schedule event.