Device State
Use a device state when an automation should respond to a device event or reading.
Choose a Device State
Select the device you want to monitor, review its available triggers, and choose the condition that should start the action. Available states depend on the selected device.
See Automations for the general steps to create and manage an automation.