My basic setup is a thermostat with a 0-100% slider that I poll every 1 second to home assistant via a rest call. I want to use any change in that value to trigger an automation that adjusts the shades to that same value. I have gotten as far as triggering the automation and setting the shades to an arbitrary amount but I am lost on how to get them to open to the value in my sensor entity.
I implemented that and it successfully moves the shades to the correct percentage with 1 small issue. I need to invert the percentage as mentioned in this WTH thread.
That is a correct assessment of my requirements and that code correctly sets my shades per the indication on the thermostat I was given to integrate. Thank you greatly!