# Stopping blind closing completely, when window is still open

**URL:** https://community.homey.app/t/stopping-blind-closing-completely-when-window-is-still-open/35016
**Category:** Flows
**Created:** [September 24, 2020, 3:11pm UTC](https://community.homey.app/t/stopping-blind-closing-completely-when-window-is-still-open/35016 "2020-09-24T15:11:31Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Daniel\_Pointer-Tax](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daniel_pointer-tax/32/25357_2.png) [@Daniel\_Pointer-Tax](https://community.homey.app/u/Daniel_Pointer-Tax)
#### Post date: [September 24, 2020, 3:11pm UTC](https://community.homey.app/t/stopping-blind-closing-completely-when-window-is-still-open/35016/1 "2020-09-24T15:11:31Z")

</div>

Hi. I wonder if somebody could help?  
I have created a simple flow which closes my blinds at Sunset. As the windows also have contact sensors (so Homey knows when the windows are open or closed), the blinds also stop at 50% if the window its covering, is open at the time the flow is activated. This all works great.

But I don’t know how to proceed further - when I notice that the blind is only 50% closed and I realise the window is still open, I go and close the window. What I want to happen next, is that specific blind continues to close, now the window is also closed.

Can I do all this in one flow? Or do I need several flows? And how?

Any help would be appreciated!

---

<div class="post-metadata">

### Author: ![Kevin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kevin/32/7999_2.png) [@Kevin](https://community.homey.app/u/Kevin)
#### Post date: [September 24, 2020, 4:33pm UTC](https://community.homey.app/t/stopping-blind-closing-completely-when-window-is-still-open/35016/2 "2020-09-24T16:33:35Z")

</div>

You will at least need 2, because of 2 different triggers:  
-sun down  
-window closes

If  
Sun goes down  
And  
Window is closed  
Then  
Set window covering state 100%  
Else  
Set window covering state 50%

If  
Window closes  
And  
Sun is down  
Then  
Set window covering state 100%  
Else  
Set window covering state 0%

---

<div class="post-metadata">

### Author: ![Daniel\_Pointer-Tax](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daniel_pointer-tax/32/25357_2.png) [@Daniel\_Pointer-Tax](https://community.homey.app/u/Daniel_Pointer-Tax)
#### Post date: [September 24, 2020, 6:18pm UTC](https://community.homey.app/t/stopping-blind-closing-completely-when-window-is-still-open/35016/3 "2020-09-24T18:18:34Z")

</div>

Thank you Kevin, that’s great!

I have 9 blinds so I assume I’ll need to create 18 flows to make this work correctly for each Blind right? Unless there’s a way to group them all together and still have the functionality that I need.

---

<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: [September 25, 2020, 8:09am UTC](https://community.homey.app/t/stopping-blind-closing-completely-when-window-is-still-open/35016/4 "2020-09-25T08:09:09Z")

</div>

If each window is installed with a separate sensor and you want the blinds to behave exactly according to your needs (window open = blind on 50%, window close = close blind), then it is not possible to create groups.

---

<div class="post-metadata">

### Author: ![Daniel\_Pointer-Tax](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daniel_pointer-tax/32/25357_2.png) [@Daniel\_Pointer-Tax](https://community.homey.app/u/Daniel_Pointer-Tax)
#### Post date: [September 25, 2020, 10:15am UTC](https://community.homey.app/t/stopping-blind-closing-completely-when-window-is-still-open/35016/5 "2020-09-25T10:15:53Z")

</div>

Got it! Thanks. I guess I’ll get started on those Flows.
