This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Help with flow: variable

Is this dumbass overlooking something, thinking to difficult? Tried Boolean etc. Can't get it to work. Trying to give the light switch (pulse, 2 way working with Qubino) a double function. It triggers a flow when pushing it in the morning. It also starts my TV etc. Then, when the news starts i would like to pause the DVR by hitting the switch again. The pause function works, tested it with a testflow.
On:

Only when variable is set the button sends pause:

On:

Only when variable is set the button sends pause:

Comments
So you got now:
- When lamp turned on, set variable to one, play something
- When lamp is turned on and variable is one, set stuff to pause
I think you should change your second trigger to something that is actually triggered when you stand up
When lamp turned on------and number is 1-------then pause AND set number to 0
Can also be done with booleans ofc, just let them flip in the both flows and check for true or false.