List of available conditions
Conditions gate an automation. After a trigger fires, Home Assistant checks every condition, and only runs the actions if they all pass. Use them to make sure an automation only runs when it should, like only dimming the lights after sunset, or only notifying you when you're home.
Browse the full list below, or use the search box to find a specific condition by name or description. Each condition has its own page with a step-by-step UI walkthrough, examples, and a complete field reference.
New to conditions? Read about conditions in automations to learn how they fit together with triggers and actions.
Air quality
-
Carbon dioxide value
air_quality.is_co2_valueTests the carbon dioxide level of one or more entities. -
Carbon monoxide cleared
air_quality.is_co_clearedTests if one or more carbon monoxide sensors are cleared. -
Carbon monoxide detected
air_quality.is_co_detectedTests if one or more carbon monoxide sensors are detecting carbon monoxide. -
Carbon monoxide value
air_quality.is_co_valueTests the carbon monoxide level of one or more entities. -
Gas cleared
air_quality.is_gas_clearedTests if one or more gas sensors are cleared. -
Gas detected
air_quality.is_gas_detectedTests if one or more gas sensors are detecting gas. -
Nitrous oxide value
air_quality.is_n2o_valueTests the nitrous oxide level of one or more entities. -
Nitrogen dioxide value
air_quality.is_no2_valueTests the nitrogen dioxide level of one or more entities. -
Nitrogen monoxide value
air_quality.is_no_valueTests the nitrogen monoxide level of one or more entities. -
Ozone value
air_quality.is_ozone_valueTests the ozone level of one or more entities. -
PM10 value
air_quality.is_pm10_valueTests the PM10 level of one or more entities. -
PM1 value
air_quality.is_pm1_valueTests the PM1 level of one or more entities. -
PM2.5 value
air_quality.is_pm25_valueTests the PM2.5 level of one or more entities. -
PM4 value
air_quality.is_pm4_valueTests the PM4 level of one or more entities. -
Smoke cleared
air_quality.is_smoke_clearedTests if one or more smoke sensors are cleared. -
Smoke detected
air_quality.is_smoke_detectedTests if one or more smoke sensors are detecting smoke. -
Sulphur dioxide value
air_quality.is_so2_valueTests the sulphur dioxide level of one or more entities. -
Volatile organic compounds ratio value
air_quality.is_voc_ratio_valueTests the volatile organic compounds ratio of one or more entities. -
Volatile organic compounds value
air_quality.is_voc_valueTests the volatile organic compounds level of one or more entities.
Alarm control panel
-
Alarm is armed
alarm_control_panel.is_armedTests if one or more alarms are armed. -
Alarm is armed away
alarm_control_panel.is_armed_awayTests if one or more alarms are armed in away mode. -
Alarm is armed home
alarm_control_panel.is_armed_homeTests if one or more alarms are armed in home mode. -
Alarm is armed night
alarm_control_panel.is_armed_nightTests if one or more alarms are armed in night mode. -
Alarm is armed vacation
alarm_control_panel.is_armed_vacationTests if one or more alarms are armed in vacation mode. -
Alarm is disarmed
alarm_control_panel.is_disarmedTests if one or more alarms are disarmed. -
Alarm is triggered
alarm_control_panel.is_triggeredTests if one or more alarms are triggered.
Battery
-
Battery is charging
battery.is_chargingTests if one or more battery-powered devices are charging. -
Battery level
battery.is_levelTests if a battery level is above a threshold, below a threshold, or in a range of values. -
Battery is low
battery.is_lowTests if one or more batteries are reporting a low charge. -
Battery is not charging
battery.is_not_chargingTests if one or more battery-powered devices are not charging. -
Battery is not low
battery.is_not_lowTests if one or more batteries are not reporting a low charge.
Calendar
-
Calendar event is active
calendar.is_event_activeTests if one or more calendars have an active event.
Climate
-
Thermostat is cooling
climate.is_coolingTests if one or more thermostats are cooling. -
Thermostat is drying
climate.is_dryingTests if one or more thermostats are drying. -
Thermostat is heating
climate.is_heatingTests if one or more thermostats are heating. -
Thermostat is in HVAC mode
climate.is_hvac_modeTests if one or more thermostats are set to a specific HVAC mode. -
Thermostat is off
climate.is_offTests if one or more thermostats are off. -
Thermostat is on
climate.is_onTests if one or more thermostats are on. -
Thermostat target humidity
climate.target_humidityTests the target humidity of one or more thermostats. -
Thermostat target temperature
climate.target_temperatureTests the target temperature of one or more thermostats.
Counter
-
Counter value
counter.is_valueTests the value of one or more counters.
Cover
-
Awning is closed
cover.awning_is_closedTests if one or more awnings are closed. -
Awning is open
cover.awning_is_openTests if one or more awnings are open. -
Blind is closed
cover.blind_is_closedTests if one or more blinds are closed. -
Blind is open
cover.blind_is_openTests if one or more blinds are open. -
Curtain is closed
cover.curtain_is_closedTests if one or more curtains are closed. -
Curtain is open
cover.curtain_is_openTests if one or more curtains are open. -
Shade is closed
cover.shade_is_closedTests if one or more shades are closed. -
Shade is open
cover.shade_is_openTests if one or more shades are open. -
Shutter is closed
cover.shutter_is_closedTests if one or more shutters are closed. -
Shutter is open
cover.shutter_is_openTests if one or more shutters are open.
Door
-
Door is closed
door.is_closedTests if one or more doors are closed. -
Door is open
door.is_openTests if one or more doors are open.
Fan
-
Fan is off
fan.is_offTests if one or more fans are off. -
Fan is on
fan.is_onTests if one or more fans are on.
Garage door
-
Garage door is closed
garage_door.is_closedTests if one or more garage doors are closed. -
Garage door is open
garage_door.is_openTests if one or more garage doors are open.
Gate
-
Gate is closed
gate.is_closedTests if one or more gates are closed. -
Gate is open
gate.is_openTests if one or more gates are open.
Humidifier
-
Humidifier is drying
humidifier.is_dryingTests if one or more humidifiers are drying. -
Humidifier is humidifying
humidifier.is_humidifyingTests if one or more humidifiers are humidifying. -
Humidifier is in mode
humidifier.is_modeTests if one or more humidifiers are set to a specific mode. -
Humidifier is off
humidifier.is_offTests if one or more humidifiers are off. -
Humidifier is on
humidifier.is_onTests if one or more humidifiers are on. -
Humidifier target humidity
humidifier.is_target_humidityTests the target humidity of one or more humidifiers.
Humidity
-
Relative humidity
humidity.is_valueTests if a relative humidity value is above a threshold, below a threshold, or in a range of values.
Illuminance
-
Light is detected
illuminance.is_detectedTests if light is currently detected. -
Light is not detected
illuminance.is_not_detectedTests if light is currently not detected. -
Illuminance
illuminance.is_valueTests if an illuminance value is above a threshold, below a threshold, or in a range of values.
Lawn mower
-
Lawn mower is docked
lawn_mower.is_dockedTests if one or more lawn mowers are docked. -
Lawn mower is encountering an error
lawn_mower.is_encountering_an_errorTests if one or more lawn mowers are encountering an error. -
Lawn mower is mowing
lawn_mower.is_mowingTests if one or more lawn mowers are mowing. -
Lawn mower is paused
lawn_mower.is_pausedTests if one or more lawn mowers are paused. -
Lawn mower is returning
lawn_mower.is_returningTests if one or more lawn mowers are returning to the dock.
Light
-
Light brightness
light.is_brightnessTests the brightness of one or more lights. -
Light is off
light.is_offTests if one or more lights are off. -
Light is on
light.is_onTests if one or more lights are on.
Lock
-
Lock is jammed
lock.is_jammedTests if one or more locks are jammed. -
Lock is locked
lock.is_lockedTests if one or more locks are locked. -
Lock is open
lock.is_openTests if one or more locks are open. -
Lock is unlocked
lock.is_unlockedTests if one or more locks are unlocked.
Media player
-
Media player is muted
media_player.is_mutedTests if one or more media players are muted. -
Media player is not playing
media_player.is_not_playingTests if one or more media players are not playing. -
Media player is off
media_player.is_offTests if one or more media players are off. -
Media player is on
media_player.is_onTests if one or more media players are on. -
Media player is paused
media_player.is_pausedTests if one or more media players are paused. -
Media player is playing
media_player.is_playingTests if one or more media players are playing. -
Media player is not muted
media_player.is_unmutedTests if one or more media players are not muted. -
Volume
media_player.is_volumeTests the volume of one or more media players.
Moisture
-
Moisture is detected
moisture.is_detectedTests if one or more moisture sensors are detecting moisture. -
Moisture is not detected
moisture.is_not_detectedTests if one or more moisture sensors are not detecting moisture. -
Moisture level
moisture.is_valueTests if a moisture content value is above a threshold, below a threshold, or in a range of values.
Motion
-
Motion is detected
motion.is_detectedTests if one or more motion sensors are detecting motion. -
Motion is not detected
motion.is_not_detectedTests if one or more motion sensors are not detecting motion.
Occupancy
-
Occupancy is detected
occupancy.is_detectedTests if one or more occupancy sensors are reporting a space as occupied. -
Occupancy is not detected
occupancy.is_not_detectedTests if one or more occupancy sensors are reporting a space as not occupied.
Remote
-
Remote is off
remote.is_offTests if one or more remotes are off. -
Remote is on
remote.is_onTests if one or more remotes are on.
Select
-
Option is selected
select.is_option_selectedTests if one or more dropdowns have a specific option selected.
Siren
-
Siren is off
siren.is_offTests if one or more sirens are off. -
Siren is on
siren.is_onTests if one or more sirens are on.
Switch
-
Switch is off
switch.is_offTests if one or more switches are off. -
Switch is on
switch.is_onTests if one or more switches are on.
Temperature
-
Temperature value
temperature.is_valueTests if a temperature value is above a threshold, below a threshold, or in a range of values.
Text
-
Text is equal to
text.is_equal_toTests if one or more text entities are equal to a specified value.
Timer
-
Timer is active
timer.is_activeTests if one or more timers are active. -
Timer is idle
timer.is_idleTests if one or more timers are idle. -
Timer is paused
timer.is_pausedTests if one or more timers are paused.
To-do list
-
All to-do items completed
todo.all_completedTests if all to-do items are completed in one or more to-do lists. -
Incomplete to-do items
todo.incompleteTests the number of incomplete to-do items in one or more to-do lists.
Update
-
Update is available
update.is_availableTests if one or more updates are available. -
Update is not available
update.is_not_availableTests if one or more updates are not available.
Vacuum
-
Vacuum is cleaning
vacuum.is_cleaningPasses when the vacuum cleaner is cleaning. -
Vacuum is docked
vacuum.is_dockedPasses when the vacuum cleaner is docked. -
Vacuum is encountering an error
vacuum.is_encountering_an_errorPasses when the vacuum cleaner is in an error state. -
Vacuum is paused
vacuum.is_pausedPasses when the vacuum cleaner is paused. -
Vacuum is returning
vacuum.is_returningPasses when the vacuum cleaner is returning to the dock.
Valve
-
Valve is closed
valve.is_closedTests if one or more valves are closed. -
Valve is open
valve.is_openTests if one or more valves are open.
Water heater
-
Water heater is off
water_heater.is_offTests if one or more water heaters are off. -
Water heater is on
water_heater.is_onTests if one or more water heaters are on. -
Water heater operation mode
water_heater.is_operation_modeTests if one or more water heaters are set to a specific operation mode. -
Water heater target temperature
water_heater.is_target_temperatureTests the temperature setpoint of one or more water heaters.
Window
-
Window is closed
window.is_closedTests if one or more windows are closed. -
Window is open
window.is_openTests if one or more windows are open.