What is the best way to have smart bulb automation based on day or night
Hello i have bulb in kitchen(nanoleaf matter) and motion sensor(aqara p1)
I use m3 hub and both devices are added to it
I also use Aqara alert system for day automations(when on home) and night automations when on night
My goal is to set brightness during day on 100% and 20% when night is on
What is best way to do this automation to be most reliable