I’ve been using HAOS on a Raspberry pi for about 3 weeks, so just getting started but getting the hang of things. I need some help automating my Hive TRV’s.
The issue I’m facing: Hive TRV’s do not fully close radiator vale when target temp is reached
Proposed solution: Use HA to detect when current temperature exceeds target temperature and turn the TRV to off, ensuring the valve closes fully.
Sounds simple enough. My first thought was write an automation like so:
When TRV current temp changes, and is above TRV target temp, set TRV to off
However, I cannot find a way to ‘grab’ the target temp of the TRV to put it into the ‘above’ field of the automation’s trigger section. How can I expose this data so that it’s available for use in automations?
The Current Temperatures is available to select as an attribute, but I can only ‘set’ a new value here - I can’t actually ‘pull’ or access the data to use it as a condition - See pic
Ideally I’d have
Entity: Sun Room
Attribute: Current Temperature
Above: Target Temperature
The ‘above’ field only allows numerical input in the visual editor. I don’t want to hard code the value, I want it to pull form the current target temp set in the hive app. I’ve tried various lines of code in the automation yaml editor but none seem to provide me with the numerical value for the target temp of the unit. Any ideas what I need to point to in order to get this numerical value?
My question then would be: How often is this going to look for changes? Every time the TRV changes its current temp? I don’t want it to be polling continuously in the background if possible