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.
Closed
Oposite flow execution
I am mapping my KAKU remote to execute a few flows. Only problem i found, i have to map a flow for each button, but also a new flow for the opposite execution (on/off). It would be easy to have a option to copy your flow to execute the opposite and still be a part of the same flow (with tabs or something)
This discussion has been closed.
Comments
Where is proposed for a variable LightsOn:
IF button was pushed THEN set LightsOn to 1-LightsOn
IF LightsOn changed AND LightsOn = 1 THEN turn lights on
IF LightsOn changed AND LightsOn = 0 THEN turn lights off
IF buttonOff was pushed THEN set LightsOn to 0
IF LightsOn changed AND LightsOn = 1 THEN turn lights on
IF LightsOn changed AND LightsOn = 0 THEN turn lights off