Aqara G5 how that set spotlight on and off at night detection

Hello, welcome to the forum. Thank you for sharing your automation. I would like to make a remark, your automation (picture)


will work incorrectly at night. Theoretically, it will work throughout the day. The corrected automation for your case is described in my lesson 27(2)Automation 2.0, lesson 27 (part 2), controlling camera spotlights at night (G5, G100). Turning on when the camera sees an event.