Hey everyone, I’m trying to set up my garden lights to turn off automatically before sunrise, but I’m running into some issues. I’ve configured the automation to trigger when motion is detected in my garden, but it seems to get stuck at the ‘before sunrise’ condition, even when that condition is met. Let me walk through what I’ve done so far and see if anyone can help me figure this out.
First, I set up the automation with the following parameters:
- Trigger: Motion detected in the garden
- Conditions:
- The device_tracker for my phone shows I’m home
- Time after 21:30
- Before sunrise
- Either I’m not home or it’s after sunset but before sunrise
- Actions: Turn off specific lights and switches
The automation works perfectly when I’m away, but when I’m home, it doesn’t seem to trigger correctly. I’ve double-checked the time settings and sunrise times, and everything seems to align. I’m wondering if there’s something I’m missing in the condition logic or if there’s a conflict with other automations running on my system.
I’d really appreciate any insights or suggestions on how to troubleshoot this. Maybe there’s a more efficient way to structure the conditions or a different approach altogether. Thanks in advance for your help!