Garage Door using Wiser/Clipsal Micro Module Switch

hi there am trying to get a cover to switch off and on at the same time or in a second. My switch does not have an interface where I can change the timer. so thinking of using the cover config

at the moment here is my code but i don’t know how config the off and on

cover:

  • platform: template
    covers:
    garage_door:
    device_class: garage
    friendly_name: “Garage Door”
    value_template: “{{ is_state(‘binary_sensor.garage_door’, ‘closed’) }}”
    open_cover:
    service: switch.turn_off
    entity_id: switch.garage_door
    close_cover:
    service: switch.turn_on
    entity_id: switch.garage_door
    stop_cover:
    service: switch.turn_on
    entity_id: switch.garage_door
    icon_template: >-
    {% if states(‘binary_sensor.garage_door’)|float > 0 %}
    mdi:garage-open
    {% else %}
    mdi:garage
    {% endif %}