The flow is:
WHEN contact alarm is activated (door open)
AND
DATE AND TIME time is beteween 22.00 and 8.00
PRESENCE Lars Göran is at home
OR
PRESENCE Lena Olson is at home
THEN
Dim light to 100 %
The flow runs every time the door is opened even if time is not between 22.00 and 8.00 and we are at home. Where is my logic wrong?