When I started with automations in Home a**istant, I built a few that worked, and I had no idea why they kept working after every update. I promised never to touch them as long as they didn’t break. They were stitched together, taking inspiration from forum posts and a little guesswork around the sensor states. They were built out of trial and error, and I left them alone. I was worried the magic that made them work might stop.