IKEA Parasoll sensor does not detect two changes

Hi all,

I have tilt and turn windows in my home. In front of those are some switchbot automated curtains.

I stuck two IKEA Parasoll door sensors to the window. One on top and one on the bottom.
Using some templating I can now detect if the window is closed, tilted or fully open.

If it’s fully open, the curtain will not automatically close.

But now I notice when the window is open and I want to tilt it, then it briefly needs to be closed so I can turn the handle.
When I do this the top sensor does detect the first change (open → close). But if I tilt it within 1 second, then the sensor does not detect the closed → open sensor. Do hass thinks the window is still fully closed instead of tilted.

If I later close the window, wait 1 sec, and tilt again, then it does register correctly.

Two questions:

  1. Has anyone noticed this delay with PARASOLL on a window or door?
  2. I could not find a way to trigger an additional sensorupdate through ZHA (e.g. 10 sec after closing) to automatically correct the status. Anyone has a way to do this or a different way to fix this?