Hi everyone, I wanted to share my recent experience with setting up an automation in my smart home. It was a bit of a challenge at first, but with the help of this amazing community, I managed to get it working perfectly!A few weeks ago, I decided to create an automation that would turn on my living room lights at sunset and turn them off at sunrise. I thought it would be a simple task, but I ran into some issues. The automation didn’t trigger as expected, and I couldn’t figure out why. I tried checking the logs, adjusting the conditions, and even reinstalling some integrations, but nothing seemed to work.Feeling a bit stuck, I decided to reach out to the community. I posted my issue here, explaining the problem and sharing the automation code I was using. Within hours, I received several helpful responses. One user suggested checking the time zone settings in my configuration, while another recommended verifying the state of the light switch entity. After some trial and error, I realized that the issue was with the availability template of my light switch. It was set to ‘unavailable’ during certain times, which prevented the automation from triggering.Thanks to the tips I received, I adjusted the availability template and reconfigured the automation. Now, it works like a charm! Every evening, the lights come on automatically as the sun sets, and they turn off at sunrise. It’s such a small thing, but it makes a big difference in my daily life.This experience really highlighted the value of having such a supportive community. I’m so grateful to everyone who took the time to help me troubleshoot and find a solution. If you’re ever stuck with an automation or any other smart home issue, don’t hesitate to ask for help here. You never know how much it might mean to someone else!Happy automating everyone! ![]()