When I open my window, the current position of my cover should be stored into a variable (input_number.int_savedcoverposition)
After that my covers will open.
When I later close the window again the i want to use the cover.set_cover_position service to restore the original state.
So far so good, but I have no Idea how to set the value for the variable.
Hi, I’m curious since I’m trying to accomplish the same.
@Septem
Did You get it working? How are You passing input_number.int_savedcoverposition back to the cover such that it sets the position?
Also, I assume You have more than one cover. Were You / anybody else able to define the logic once and re-use it? (In my case 13*2 automations = 13 covers * (1 automation for opening + 1 automation for closing)…)