Stopping blind closing completely, when window is still open

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!

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%

1 Like

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.

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.

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