Verifying action success

I have an automation that send a “turn on light” command which almost always works, but today it was triggered but the light didn’t turn on (I guess the MQTT command was somehow lost)

The solution would be to repeat the command until the status changes to the desired state (“light on”)

Is there a built-in command, or a common framework for such “verified actions”?

Same question was asked 4 days ago by another user. Same answer:

Either use repeat or install a custom integration that effectively does the same thing.

1 Like