I went ahead and implemented the timed-cover concept.
grab the file from here and place it in .homeassistant/custom_components/cover/
https://raw.githubusercontent.com/PhracturedBlue/home-assistant/timed_cover/homeassistant/components/cover/template.py
You must have a open_cover, close_cover, stop_cover commands and NOT have set_cover_position.
Here is an example:
cover:
platform: template
covers:
test:
position_template: '{{ states.cover.test.attributes.current_position | int }}'
open_cover:
service: 'cover.open_cover'
entity_id: 'cover.test_state'
close_cover:
service: 'cover.close_cover'
entity_id: 'cover.test_state'
stop_cover:
service: 'cover.stop_cover'
entity_id: 'cover.test_state'
opening_time: 10
closing_time: 10
Note that I have another commit in flight, so I won’t submit a pull request for this until (a) someone tries it and finds it useful and (b) my other pull-request is accepted.