Trigger linkage in a scene

It is may be a very stupid question, but I ask me that for a long time:)

When I add more then one trigger on a scene is that a ‘and’ or a ‘or’ linkage?
Eg. 1 The light should be switch on when the sun goes down ‘and’ not before 7pm
Eg. 2 The light should be switch off when the sun goes up ‘or’ at 6am

Why is this trivial function not implemented in the UI’s?
How can I add a ‘or’ linkage and how can I add a ‘and’ linkage in a scene?

[quote=“funnyboy4711, post:1, topic:185929”]It is may be a very stupid question, but I ask me that for a long time:)

When I add more then one trigger on a scene is that a ‘and’ or a ‘or’ linkage?
Eg. 1 The light should be switch on when the sun goes down ‘and’ not before 7pm
Eg. 2 The light should be switch off when the sun goes up ‘or’ at 6am

Why is this trivial function not implemented in the UI’s?
How can I add a ‘or’ linkage and how can I add a ‘and’ linkage in a scene?[/quote]Vera comes only with OR capabilities out of the box. Multiple triggers are ORed.

If you wish to have AND logic you can use Lua code. User @rexBeckett has created an excellent tutorial in Conditional Scene Execution: Some Examples.

Another, somewhat simpler, option is to use the Program Logic Event Generator(PLEG) plugin. @RexBeckett wrote a great tutorial on that too! An Introduction to the Program Logic Event Generator