React to a state change, and loop as long as the state persists

Good evening,

I’d like a scene to be triggered on a sensor state change (that I know how to do…), but I want the actions contained in the scene to be executed in a loop for as long as the sensor is not in its initial state.

How can I do this?

Thank you,

Have a nice evening,

Jean

Hi @jean_bruder, I believe the feature doesn’t exist yet but there’s a feature request: [Scène] "Tant que", pouvoir faire des boucles contrôlées

1 Like

Good evening @mutmut :slight_smile:

That’s indeed what I’m looking for: as long as a door remains open, have Gladys complain, wait a few minutes, and loop like that until the door is closed…

Have a nice evening,

Jean