This works fine and the state address represent the actual position.
Now I’m looking for a way to change the switch button with a curtain/cover and of course a way to see/know the current position.
Can any of you put a newbie in the right direction please?
Thanks a lot in advance!
Nick
Regarding the visualization: I have searched for the available icons but haven’t found anything for horizontal curtains. (also changed the device class)
Do they exist and if yes, where can I find them.
If not, I guess I can create something myself but have no idea howto approach this.
For the state, do I use that value_template as in the example?
Thanks for the tip: I did see that doc but it seems that it doesn’t add anything to the solution.
Since I’m fairly new to home automation in general and HA, this is what I puzzled together.
In this case there is a normal actuator that controls relays, that were already in place, and it’s to much to change all this.
Therefor I have only the control to fully open/close and the state; that’s why I used a switch.