In this video we will see how to setup a new condition. You’ll need to have a variable setup first: you can see how this is done in our previous video Newbie video - How to setup a variable.
- Create a new condition that will watch our ‘nighttime’ variable: this will be a boolean condition called ‘sunset’
- The required state will be true: when ‘nighttime’ is true, then sunset is true as well.
That’s it! You now have a condition ready to use in your logic.
Learn more about conditions in our extended article: Conditions applied to variables in Apilio