Happy to answers questions too
Now what happens if, while the window is still open, you restart Home Assistant?
Let me give you a full insight: When I restart HA all sensors are in an “Off” state, the state they should have when the window is open. When I turn the handle to open the window physically it stays “off”. As soon as I turn the handle to close the window the sensor is going into an “on” state.
Now to your question: When the window is open, is in the “off” state and I restart HA then of course it´s still shown as off (because HA is resetting the status)
The thing is now: as I mentioned in other posts a few times I’m coming from a comercial solution named Symcon. I still have it and use it as some sort of control mechanism (and it was to expensive to get completely rid of it). Symcon is keeping the state of the sensors.
I don’t have the KNX configuration software here so I can’t check it but at least with HA it seems is momentary.
I hope this answers your question. Happy to help