Starting with flows and already lost

I am trying to do create a flow for the following.

When my window sensor says my window is closed, I would like a widget on my Dashboard that says Closed and Open for open. This, i expected it to be a nobrainer but I can’t get it working. Any help is much appriciated.

You don’t need a flow for this.

You don"t need a flow for this. You can simply add a Sensor widget to your dashboard and include the desired property of your contact sensor.

But there’s no “Open” or “Closed” status by using standard / default settings.

Unfortunately Homey doesn’t have different options for contact sensors, which usually are monitoring a door or window;
A default sensor tile @ Dashboard just shows No (door/window closed) or Yes (door/window opened), a plus here is the red colored text if Yes.

Of course there’s more possible options with community widgets like Enhanced Device Widget app and Data Vista app, but it’s quite odd we’ll have to install apps for the words Open / Closed to be displayed…

Just as comparison, Home Assistant shows open/closed by default, and colors the icon as alert:

I gave up on flows for this and am using a script now. That gave me all the flexibility I need.
It looks like this now (I’m adding the other windows today).

(attachments)