I have recently purchased my first Aqara product a G5 pro camera. This is linked to Apple HomeKit which I use for lights & heating. I have tried unsuccessfully to set up a simple automation so that if the camera detects a person at night certain lights as well as the camera’s spotlight are triggered. This part works okay but the lights then stay on indefinitely! What part in the automation have I missed please - I only need the lights on got a few minutes! Thanks
