Template Cover

Setting the positions with slider is working now, thank you again.
But there is a slight problem. The up and down arrows on the frontend does not update. They are stuck at only up arrow and stop button available. A good way will be if the position is 0 (fully closed) only the up arrow and stop should be active. If the position is 100, only the down and stop and if the position is in between all three buttons should be enabled. And also if up arrow is pressed the front end slider should be 100 after the calculatated delay and if the down arrow is pressed it should be 0 too.

The problem with “dumb covers” will always be there. In homebridge, I set the cover to fully open or fully close with the buttons first, to let the system know the state. Then I can set to any state I want. From time to time you need to fully close or open, because opening_time and closing_times will always be a little off the real values.
Still waiting for xiaomi to implement the horizontal blind motor with zigbee, which will report it’s current position hopefully.