Set Button Card State with Cover (Garage Door)?

Hey all…

I’ve got a cover set up for my garage door and I have everything working except for the status of the garage door. It currently sits with “Unknown” under the name of it. Below is my code, and a screenshot of the button card. This is the built-in button card that comes with HA. I tried adding the value_template code but that didn’t seem to be the one I needed. Anyone know how do set the state of the button card? Any help would be appreciated, thanks in advance!

image

cover:
  - platform: template
    covers:
      garage_door:
        device_class: garage
        friendly_name: "Garage Main Door"
        value_template: >-
          {% if is_state('cover.garage_door', 'on') %}
            Open
          {% elif is_state('cover.garage_door', 'off') %}
            Closed
          {% else %}
            Unknown
          {% endif %}
        position_template: "{{ states('binary_sensor.garage_main_door_open_sensor_window_door_is_open') }}"
        open_cover:
          - condition: state
            entity_id: binary_sensor.garage_main_door_open_sensor_window_door_is_open
            state: "off"
          - action: switch.turn_on
            target:
              entity_id: switch.garage_main_door_relay
        close_cover:
          - condition: state
            entity_id: binary_sensor.garage_main_door_open_sensor_window_door_is_open
            state: "on"
          - action: switch.turn_off
            target:
              entity_id: switch.garage_main_door_relay
        stop_cover:
          action: switch.turn_on
          target:
            entity_id: switch.garage_main_door_relay
        icon_template: >-
          {% if is_state('binary_sensor.garage_main_door_open_sensor_window_door_is_open', 'on') %}
            mdi:garage-open-variant
          {% else %}
            mdi:garage-variant
          {% endif %}