# How to structure your flows

**URL:** <https://community.homey.app/t/how-to-structure-your-flows/25109>\
**Category:** Flows\
**Created:** [January 27, 2020, 10:31pm UTC](https://community.homey.app/t/how-to-structure-your-flows/25109 "2020-01-27T22:31:04Z")\
**Posts on this page:** 6\
**Page:** 3

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [October 1, 2021, 4:07pm UTC](https://community.homey.app/t/how-to-structure-your-flows/25109/41 "2021-10-01T16:07:01Z")

</div>

> [@thobu](#):
>
> once the window is open and you switch on the heater

Then it happens what?  
In this case the trigger is „switch on the heater“ not „If zone becomes active“. So this flow will not be triggered.

> [@thobu](#):
>
> it seems to work with this flow, before it didn’t work the way I wanted it

Before means what?  
You can delete the „Turn off“ below the **ELSE**.

---

<div class="post-metadata">

**Author:** ![thobu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thobu/32/18357_2.png) [@thobu](https://community.homey.app/u/thobu)\
**Post date:** [October 1, 2021, 6:17pm UTC](https://community.homey.app/t/how-to-structure-your-flows/25109/42 "2021-10-01T18:17:06Z")

</div>

> [@DirkG](#):
>
> Before means what?

Before I added the “else” it didn’t turn off when the heater was already running and I opened the window. It only turned off the heater if the heater was off (and I turned it on) and the window open.  
I can’t verify this before Tuesday though.

---

<div class="post-metadata">

**Author:** ![thobu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thobu/32/18357_2.png) [@thobu](https://community.homey.app/u/thobu)\
**Post date:** [October 5, 2021, 9:28am UTC](https://community.homey.app/t/how-to-structure-your-flows/25109/43 "2021-10-05T09:28:31Z")

</div>

> [@DirkG](#):
>
> You can delete the „Turn off“ below the **ELSE**.

you were right.

---

<div class="post-metadata">

**Author:** ![JeroenAJ](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroenaj/32/45849_2.png) [@JeroenAJ](https://community.homey.app/u/JeroenAJ)\
**Post date:** [October 9, 2021, 5:47pm UTC](https://community.homey.app/t/how-to-structure-your-flows/25109/44 "2021-10-09T17:47:38Z")

</div>

@thobu and if your flow was working with the “else” command, you can also remove the “and” element.

Window open = heater off (whether it is running or not)

- keep it simple 🤓

---

<div class="post-metadata">

**Author:** ![Tim2](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tim2/32/33864_2.png) [@Tim2](https://community.homey.app/u/Tim2)\
**Post date:** [October 15, 2021, 9:55pm UTC](https://community.homey.app/t/how-to-structure-your-flows/25109/45 "2021-10-15T21:55:12Z")

</div>

Great inspiration, thanks a lot @FKey!  
I noticed from your screen shots that you are also utilizing transitions - how do they fit into your methodology?

I guess you can’t use virtual buttons here, so perhaps it looks something like this:

1. Trigger flow: e.g. When 06:00 Then start transition
2. Action flow: e.g. When transition changes Then dim lights with value from transition

…or do you have a better approach?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)\
**Post date:** [December 21, 2021, 7:05pm UTC](https://community.homey.app/t/how-to-structure-your-flows/25109/46 "2021-12-21T19:05:23Z")

</div>

> [@FKey](#):
>
> **how to structure your flows: grouping of sensors**

Added a section at the top that was still missing an very usefull.

Grouping sensors to reduce the number of flows

[Previous page](https://community.homey.app/t/how-to-structure-your-flows/25109.md?page=2)
