# Handling Else-If scenarios in flows

**URL:** <https://community.homey.app/t/handling-else-if-scenarios-in-flows/8870>\
**Category:** Questions & Help\
**Created:** [February 7, 2019, 4:12pm UTC](https://community.homey.app/t/handling-else-if-scenarios-in-flows/8870 "2019-02-07T16:12:53Z")\
**Posts on this page:** 8\
**Page:** 2

<div class="post-metadata">

**Author:** ![Tirrazo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tirrazo/32/55444_2.png) [@Tirrazo](https://community.homey.app/u/Tirrazo)\
**Post date:** [October 17, 2022, 4:43am UTC](https://community.homey.app/t/handling-else-if-scenarios-in-flows/8870/21 "2022-10-17T04:43:01Z")

</div>

Hi again,

Do you have any idea why my device turned off 06.00 and not 05.30 as it should’ve? 😮

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/7/078d379abcbd42b09b48e654dcb1e87780dd1378.png)

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [October 17, 2022, 7:43am UTC](https://community.homey.app/t/handling-else-if-scenarios-in-flows/8870/22 "2022-10-17T07:43:40Z")

</div>

The flow will only trigger when the price changes, so if that was not until 6 it would explain it?

Add another trigger card if you want 5:30 to be a stop condition:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/1/9104eec84a85f9b2b7a56e3a84db98656c15b73c.png)

Also, I’m not sure if the between 00:00 and 05:30 would be true at 5:30, so maybe if the price changed at 05:30 it would still pass through the true route.

---

<div class="post-metadata">

**Author:** ![Tirrazo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tirrazo/32/55444_2.png) [@Tirrazo](https://community.homey.app/u/Tirrazo)\
**Post date:** [October 17, 2022, 8:56am UTC](https://community.homey.app/t/handling-else-if-scenarios-in-flows/8870/23 "2022-10-17T08:56:03Z")

</div>

Thank you for the reply.

I am not sure either. Maybe “the price has changed” card is not right here. As long as the price is lowest hours, the trigger can be the time, is that possible?

I thought that the timecard would send not true at 05.30 and my device will turn off. That was at least my intention 😃

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 17, 2022, 11:05am UTC](https://community.homey.app/t/handling-else-if-scenarios-in-flows/8870/24 "2022-10-17T11:05:11Z")

</div>

The timecard is a conditional card (most AND cards are).  
The trigger cards send the signal when something’s changed, the timecard says OK, or Not OK when, in your case, the time of the trigger is between 2 points in time or not.

It does not send signals or trigger by itself. It’s a ‘decision’ card for incoming signals.

If you want the charger to start at 0:00 when the price is lowest for next 12h, and stop it at 5:30h, do:  
When…  
-the time is 0:00h  
And…  
-the price is lowest for next 12h  
Then…  
-start charging

When…  
-the time is 5:30h  
Then…  
-stop charging

---

<div class="post-metadata">

**Author:** ![Tirrazo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tirrazo/32/55444_2.png) [@Tirrazo](https://community.homey.app/u/Tirrazo)\
**Post date:** [October 17, 2022, 6:15pm UTC](https://community.homey.app/t/handling-else-if-scenarios-in-flows/8870/25 "2022-10-17T18:15:01Z")

</div>

Thank you again, will try this out! 🙂

---

<div class="post-metadata">

**Author:** ![Tirrazo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tirrazo/32/55444_2.png) [@Tirrazo](https://community.homey.app/u/Tirrazo)\
**Post date:** [October 27, 2022, 6:06am UTC](https://community.homey.app/t/handling-else-if-scenarios-in-flows/8870/26 "2022-10-27T06:06:00Z")

</div>

Will this situation be the same?

I am converting my normal flows to advanced flows.

Here I want my heating pump to adjust to a certain temperature if the day is either saturday or sunday.

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/c/ac974789cede6cc975d3a8416fc46d215fb68bb4.png)

Will this be the same as setting up the card with: The day is between saturday and sunday like I have done here?

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/3/5328ed98f7274c72880916fdb5ec841d84770c37.png)

---

<div class="post-metadata">

**Author:** ![HaraldDutch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/haralddutch/32/145031_2.png) [@HaraldDutch](https://community.homey.app/u/HaraldDutch)\
**Post date:** [December 31, 2025, 4:12pm UTC](https://community.homey.app/t/handling-else-if-scenarios-in-flows/8870/27 "2025-12-31T16:12:41Z")

</div>

December 2025. I see there is an if - then - else now (maybe for some time already).

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/4/84a460c75622cb0e6236e40b883655600377d0a9.png)

The blue line on top is the then, the gray line on the bottom is the else

---

<div class="post-metadata">

**Author:** ![SunBeech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sunbeech/32/111391_2.png) [@SunBeech](https://community.homey.app/u/SunBeech)\
**Post date:** [December 31, 2025, 5:45pm UTC](https://community.homey.app/t/handling-else-if-scenarios-in-flows/8870/28 "2025-12-31T17:45:09Z")

</div>

This has always been available in Advanced Flow.

- If the test in the flowcard results in ‘true’, then it executes the righthand upper / blue line;
- If the test in the flowcard results in ‘false’, then it executes the righthand lower / yellow line;
- If the test in the flowcard results in an error, then it executes the bottom / red line (if available).

When simulating flows Homey shows the unfollowed paths in grey.

[Previous page](https://community.homey.app/t/handling-else-if-scenarios-in-flows/8870.md?page=1)
