After receiving my Sonoff Smart TRVs, I was excited to integrate them into my Home Assistant setup. The dashboard looked fantastic, showing real-time temperature data and heating status. However, I quickly noticed an issue: my non-smart boiler operates on a timer, meaning it only heats during specific hours. Despite this, the TRVs were logging as ‘heating’ throughout the day, which was misleading and needed fixing.
I spent several hours researching how to sync the TRVs with my boiler’s schedule. The key was to create a custom automation in Home Assistant that would adjust the TRVs’ displayed status based on the boiler’s operational hours. After some trial and error, I found a solution using a combination of time-based triggers and state updates.
Here’s what worked for me:
- Step 1: Identify the boiler’s heating schedule and create a list of active hours.
- Step 2: Use the
input_booleancomponent to track whether the boiler is active. - Step 3: Set up an automation that updates the TRVs’ state to ‘idle’ when the boiler is off.
- Step 4: Test the automation thoroughly to ensure it doesn’t interfere with actual heating functionality.
The result? The TRVs now accurately reflect the boiler’s status, and I can monitor everything seamlessly. This setup not only looks cleaner on the dashboard but also helps me manage energy usage more effectively.
If anyone else is dealing with a similar setup, I highly recommend exploring custom automations in Home Assistant. It’s a bit challenging at first, but the payoff is worth it! Let me know if you’d like more details on the automation I used. Happy tinkering! ![]()