Now I also have 2 Shelly TRV’s in my system, but they dont have the “heating” state. It only have the valve position 0-100
**How can I adjust the code to track when valve is 1-100% open?
Can someone tips me how to adjust the code I already have?
Create a template binary sensor helper to track if the valve is open or closed. Once that is created you can reference it in a new history stats sensor.
I think i need some more help. The valve is giving the information 0-100%. Closed is 0%, 1-100% is open. How can I code the helper to track all time its status is 1-100%? Do I add your suggested text in Configuration.yaml or through the helper interface? Should I use ON as time for history stats from Binary sensor?