Cover Template: position_template Timer

Hey there.

I have some “dumb” blinds that I control with RF signals.

Has anyone got an example where they use a timer to count and assume the position_template?

Assuming it takes 30 seconds, I want the open to count up, stop to pause, and close to countdown.

I don’t have much experience with timers, so hope someone smarter than me has already done this already.

Thanks!

Would love some help on this?

##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.

Have you seen?

1 Like

In all my searches and googles, I had not seen this! Wow, thanks so much let me check it out and see if it works :smiley:

If I can get this working with counters, it might be better. Reason is:

  1. I have grouped blinds with their own RF commands so I can open and close multiple at once.

  2. I have privacy blinds with a unique RF command that stops them at 50% position.

Doing this as a counter automation would make it easier to tweak for my use case…