When building your own automations, it's so easy to fall victim to the copy-paste trap. If you write a brilliant motion-activated lighting automation for your hallway, it works perfectly, and then you ...