Skip to content

Flows Triggers device changed

Arie J. Godschalk edited this page Nov 15, 2026 · 1 revision

A virtual device changed

Home > Flows > Triggers > A virtual device changed

Report a Device control change and its value.

Card ID: device_changed.

Arguments, tokens and behavior

This app-wide trigger listens to changes handled by a Device control listener, not Mode changes. It has no arguments. It supplies three text tokens: device (current device name), variable (capability ID such as onoff), and value (the value converted to text, such as true). A Device with several capabilities can produce a separate event for each changed capability. An unchanged onoff is ignored. Direct sensor-value writes should not be relied on to trigger this listener.

Example

Add a Device with onoff named Test switch. Create a Flow with this trigger and a notification action. Insert the device, variable, and value tokens in the notification text. Turn Test switch off and then on using its control. Expect a notification identifying Test switch, onoff, and true. If other Devices change, this app-wide trigger can also run.

More examples · Troubleshooting

Clone this wiki locally