I recently installed Shelly smart relays in most of my light switches. So now I can control them from my phone through Home Assistant. But even better, I can now integrate my home lighting into my automations - such as linking lights in a room to occupancy.But to detect motion, you need a ...