I have my blinds configured as covers. They open and close and report their position correctly. I can even set the position from the dashboard without any problems. When I try to set the position from a script or scene they will open to the position, then 15 seconds later close. Currently to get around this I’m opening, delaying 7 seconds, then stopping but I have no idea why the set position doesn’t work properly.
If the blinds are open before running the script then it works fine but if the blinds are closed then I have this problem.
Example script that opens then closes.
test:
alias: Test
sequence:
- service: cover.set_cover_position
data:
position: 20
entity_id: cover.shutter_living_window
mode: single
I use a REST gateway to talk to the blinds. The gateway registers various functionality as separate entities with ids. So 1 id is for positioning and another id is for the basic open/close/stop but its all the same device.