##Configuration YAML##
counter:
b3_position:
initial: 0
restore: true
step: 1
minimum: 0
maximum: 60 # 60 seconds to fully close
cover:
-platform: template
b_b3_0:
friendly_name: "Bedroom 3"
position_template: counter.b3_position
device_class: shade
open_cover:
service: remote.send_command
data:
## Automation ##
This is where I need help to up the counter or down the counter every second when the service are called above.