The logic is
Event: Stuart's Den Hutch Switch button 7 is pushed.
Condition: Is Stuart's Den Upper Hutch Light on
If True:
Action: Turn Stuart's Den Upper Hutch Light off
Action: Turn Stuart's Den Hutch Switch off
If False (i.e. Stuart's Den Upper Hutch Light is off):
Action: Turn Stuart's Den Upper Hutch Light on
Action: Turn Stuart's Den Hutch Switch on
So far so good. What I want to do is now add in an OR such that when Stuart's Den Hutch Switch button 7 is pushed if either Stuart's Den Upper Hutch Light is on or Stuart's Den Lower Hutch Light is on then to turn both of those off and to also turn Stuart's Den Hutch Switch off.
Otherwise (i.e. both Stuart's Den Upper and Lower Hutch lights are off) then turn them both on and also turn on Stuart's Den Hutch Switch.
I tried a flow with an OR but it didn't seem to be working. I'm not sure how to use the OR tile. On the input side there are 2 inputs. Does that mean there can only be 2 "OR"s? What if we want to test 3 things: e.g. Switch A is pushed, Switch B is pushed or Switch C is pushed?
We all have our limits... but that is likely a separate topic to Brian's... He is one who I would say has gone above an beyond what people should expect of a Community developer. If people impose expectations on those who develop software in their spare time free of charge... and importantly, continue to support it.... (I should probably adhere to my own advice... separate topic if needed)
Just a thought .. would be nice if the action tile or someway
to have a toggle switch for lights ect.
( Press switch 1 = turn on light / then press switch 1 = turn off light )
This is why I said to 'Hold on'.. There is some serious issues with that download. I had already uploaded everything so I wasn't about to try and reverse it. Working on the fixes now. Might be a day or two before the next update though.
Paste the code here using the '</>' from above. Thanks
I got the basic toggle to work and edited post 140 to reflect that. No rush on the "OR" question I put in there as I know you are working on more serious bugs.
Along the bug line, I've found sometimes when I'm trying to delete/alter a flow the entire flow disappears and I have to use the Undo button to go back to my last saved place.
This one is for the "wish list". Sometimes I will have a tile all set up but want to change the device. E.g. I have an Action tile that says If Switch A is On ... But I want to change it to Switch B. When I click on the tile and pick Switch B the rest of the parameters get reset. My wish is that everything else would stay the same.
The highlight around the tiles in the flow path is kind of light and fuzzy. Could you make them brighter and a solid color? (Or better yet, if it is possible and there would be room for it, a slider to make it more or less intense like for the grid.) Here is what mine looks like currently:
Speaking about the grid, I keep going back and forth between whether it should show through the tiles if bright enough. One the one hand it could make it easier to line up the tiles in a particular way, on the other hand, it does make a lot of the text harder to read. Would it be possible to have a toggle to bring the grid into the foreground or background?
Not sure any lights really support " toggle " well non of mine anyway.
I think this would have to be a [Flow Engine] drag-and-drop button ..
if light on turn off - if light off turn on ?