Hello everyone, I’m trying to set up a smart automation in Home Assistant and I could really use your expertise. The goal is to control a smart plug for my circulation pump based on two conditions: the presence of at least one person in the house and a specific time window. Outside of that time window, the plug should remain off.
Currently, I’ve managed to create two separate automations—one to turn the plug on when someone is home and within the time frame, and another to turn it off outside of those parameters. While this setup works, it feels a bit clunky. I’d love to streamline this into a single automation for better efficiency and easier management.
I’ve explored using conditions within a single automation but haven’t found a configuration that ties both presence and time together seamlessly. Maybe there’s a way to use a combination of sensors and time-based triggers? I’m not entirely sure how to structure the logic to cover both conditions simultaneously.
If anyone has successfully implemented something similar or has tips on how to merge these conditions into one automation, I’d be incredibly grateful. Let me know if you need more details about my current setup or the exact configurations I’m using. Looking forward to your insights!