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. |
msg | |
assistant. |
okg | |
assistant. |
query | |
device. |
activate | |
device. |
newApplicationName | Install an application on the given device. |
device. |
newApplicationName | Search for the given application. |
device. |
newApplicationName | Select the given application. |
device. |
arm armLevel cancel |
Set the alarm level of the device. |
device. |
brightness | Adjust device absolute brightness. |
device. |
brightnessRelativePercent brightnessRelativeWeight |
Adjust device relative brightness. |
device. |
charge | |
device. |
color. color. color. color. color. color. |
|
device. |
cookingMode foodPreset quantity start unit |
|
device. |
amount item presetName unit |
|
device. |
Dock the device. | |
device. |
enable | |
device. |
enable profile |
|
device. |
fill fillLevel |
|
device. |
silence | |
device. |
relativeHumidityPercent relativeHumidityWeight |
|
device. |
duration | |
device. |
duration | |
device. |
duration | |
device. |
duration | |
device. |
lock | Lock or unlock the device. |
device. |
Skip to next media item. | |
device. |
Pause media playback. | |
device. |
Skip to previous media item. | |
device. |
Resume media playback. | |
device. |
Shuffle the current playlist. | |
device. |
Stop media playback. | |
device. |
mute | Mute or unmute the given device. |
device. |
Switch to the next input. | |
device. |
on | Turn the device on or off. |
device. |
openDirection openPercent |
Set the open-close state of the device |
device. |
pause | Pause or unpause device operation. |
device. |
Switch to the previous input. | |
device. |
||
device. |
channelRelativeCount | |
device. |
||
device. |
||
device. |
rotationDegrees rotationPercent |
|
device. |
channelCode channelName channelNumber |
Set the current channel to a specific value. |
device. |
fanSpeed | |
device. |
fanSpeedRelativePercent fanSpeedRelativeWeight |
|
device. |
humidity | |
device. |
newInput | Set the media input. |
device. |
volumeLevel | Set the volume of a given device. |
device. |
start | Start or stop the device. |
device. |
||
device. |
setMode | Set the target operating mode for a thermostat device. |
device. |
setpoint | Set the target temperature for a thermostat device. |
device. |
high low |
Set a target temperature range for a thermostat device. |
device. |
timerTimeSec | Adjust the timer duration. |
device. |
Cancel the timer. | |
device. |
Pause timer. | |
device. |
||
device. |
timerStartSec | Start a new timer. |
device. |
A cat has been detected by the camera. | |
device. |
A dog has been detected by the camera. | |
device. |
An animal has been detected by the camera. | |
device. |
A doorbell has been pressed. | |
device. |
A familiar face has been detected by the camera. | |
device. |
An unfamiliar face has been detected by the camera. | |
device. |
Motion has been detected by the device. | |
device. |
A moving vehicle has been detected by the camera. | |
device. |
A delivered package has been detected by the camera. | |
device. |
A person has been detected by the camera. | |
device. |
The sound of person talking has been detected by the device. | |
device. |
A sound has been detected by the device. | |
device. |
currentApplication | This function is used for devices which are able to switch inputs. |
device. |
currentArmLevel isArmed |
This function supports arming and disarming as used in, for example, security systems. |
device. |
brightness | This function covers how to control the brightness of a device. |
device. |
This function belongs to devices that support TV channels on a media device. | |
device. |
color. color. color. color. color. |
|
device. |
currentCookingMode currentFoodPreset |
|
device. |
isDocked | |
device. |
descriptiveCapacityRemaining isCharging isPluggedIn |
|
device. |
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. |
currentFillLevel currentFillPercent isFilled |
Enables querying devices that support being filled, such as a bathtub. |
device. |
humidityAmbientPercent humiditySetpointPercent |
Enables querying devices that support humidity settings such as humidifiers and dehumidifiers. |
device. |
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. |
activeLightEffect | Enables querying devices that can support complex lighting commands to change state, such as looping through various colors. |
device. |
isJammed isLocked |
|
device. |
playbackState | This function is used for devices which are able to report media states. |
device. |
motionDetectionEventInProgress | This function belongs to devices that can detect motion. |
device. |
occupancy | This function belongs to devices that can detect occupancy, whether through PIR, ultrasonic, or physical contact sensing. |
device. |
online | |
device. |
on | |
device. |
openPercent | |
device. |
isCurrentlyRecording | This function belongs to media devices that have a recording capability. |
device. |
rotationDegrees rotationPercent |
This function belongs to devices that support rotation, such as blinds with rotatable slats. |
device. |
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. |
currentSensorStateData. currentSensorStateData. |
|
device. |
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. |
temperatureAmbientCelsius temperatureSetpointCelsius |
|
device. |
activeThermostatMode thermostatHumidityAmbient thermostatMode thermostatTemperatureAmbient thermostatTemperatureSetpoint thermostatTemperatureSetpointHigh thermostatTemperatureSetpointLow |
Handles temperature points and modes of a thermostat device. |
device. |
timerPaused | Represents a timer on a device. |
device. |
currentVolume isMuted |
Provides volume state info. |
home. |
body title users |
Send a notification to the specified home members. |
home. |
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. |
Represents a time range. | |
time. |
Adds a pause in the automation execution. | |
time. |
Represents a time schedule event. |