Skip to content

Flows Conditions Capability set and wait for error

Arie J. Godschalk edited this page Nov 15, 2026 · 2 revisions

Capability listener

App Flowcards · Conditions index

Write true or false to a device capability and wait for a matching error.

Before you start

Select the exact device, app, zone, capability, or saved AVD field that the card should use. When a card changes device state, test it on a non-critical device first.

Card settings

  • Device (selector) — Choose the device this card works with.
  • Capability (selector) — Choose a capability offered by the selected device.
  • Value (dropdown) — Choose true/Yes or false/No to write repeatedly.
  • Error (text input) — Enter the expected error name after checking the target integration.

Output tokens

This card does not provide output tokens.

How it works and limits

The condition retries the Boolean write about every 250 milliseconds, until the error name matches its Error input or the approximately 20-second wait expires. It is not a generic delay. Choose a settable Boolean capability only when repeated writes are safe. The implementation compares the error name, not an arbitrary message phrase.

Example

Choose a settable On/Off capability, set it to Yes, and enter the error name returned when the device is already on. First run the ordinary device action and inspect the resulting error details; then test this condition on a non-critical device. It succeeds only if the matching error occurs during the wait.

Related

General Flow guide · Troubleshooting

Clone this wiki locally