ZHA: Visonic MCT-340 Open/Close sensors default to open

I have a few of these sensors and they work just fine with Home Assistant, but lately two of them default to open after I restart Home Assistant. If I go open that window then reshut it, it registers just fine and stays closed until I restart again.

Is there any way to fix this?

I am seeing the same behavior on one of the four Visonic MCT 340 Door sensors that I have. It also defaults to ‘Open’ when I restart Home Assistant and I have to open and close the door to get it to reset correctly. I would also like to know if there is a solution for this.

I just opened an issue on GitHub.