In the When… section only trigger cards are available. Trigger means status changes. Status changes are very short actions in time. E.g. something like “switched on”, the time changes from 10:00 to 10:01 (it’s less than a second), temperature changes from 14.2 to 14.3 °C, the sun sets (it’s handled like the time), a variable changes from Yes to No…
In the And… section only condition cards are available. Conditions are something like “is on” (not switched on!!!), it’s after sun set, it’s < 14.2 °C, the music plays…
So the only way is:
When…
– The sun sets And…
– VD is ON Then…
– whatever
Many thanks for your reply. This is indeed what I anticipated. However, if I select “the sun sets” in the “when” section, I m left with “is turned ON” in the AND section. No way to select " IS ON"
There must be a reason!
I have created a virtual device called “Absence”, that can be turned ON/OFF Zwave button
What I m trying to implement, is a flow which turns a light ON when the sun sets, IF the “Absence” mode is ON.
In other words, I would like my flow to be:
WHEN: “The sun sets”
AND: “Absence mode is ON”
THEN: “Turn the light ON”
However, once “the sun sets” is selected, the “Absence mode is ON” is not available in the “AND section”. The only choice is “Is turned ON”, which I guess refers to a change of state (from OFF->ON)
I have done a quick check -replacing “the sun sets” by a fixed time, looks like indeed “mode is turned ON” doesnt not does refer to a change of state but rather to its actual state (“is ON”)