Trigger improvement: Device state change On/Off - Open/Closed

Currently when we need to activate a scene on a device’s on/off or open/closed state change, we have to create 2 triggers, 1 for each state because the 2 cannot be active at the same time:

2 ideas for improvement :

Thanks in advance.

It’s true that it would be nice not to have to create multiple blocks.

I’m really into that kind of thing :wink:

I also think that would be a good idea. But rather in the variant with a third button, which seems more explicit to me.

Hi @mutmut!

The device state trigger has a third option, since Gladys 5.0:

Start the scene on every state change, regardless of the value.

A single trigger reacts to both on and off, or to opening and closing. You no longer need to create two triggers that conflict with each other.

I’m moving this topic to « Delivered Requests ». If there’s still a case that doesn’t fit, open a new topic: it will be easier to follow.