Night bolt detection

Not sure if you’re looking for something like this:
How I made my dumb locks a little smarter! - Share your Projects! - Home Assistant Community

The details might be a little dated, but the principle still works :smiley: