What am I missing about cover groups?

I have these two garage doors that include availability templates:

- platform: template
  covers:
    lhs_garage_door:
      friendly_name: "LHS Garage Door"
      device_class: garage
      open_cover:
        service: switch.turn_on
        data:
          entity_id: switch.lhs_garage_door_remote
      close_cover:
        service: switch.turn_on
        data:
          entity_id: switch.lhs_garage_door_remote
      stop_cover:
        service: switch.turn_on
        data:
          entity_id: switch.lhs_garage_door_remote
      value_template: "{{ is_state('binary_sensor.lhs_garage_door_status', 'on') }}"
      icon_template: >-
        {% if is_state('binary_sensor.lhs_garage_door_status', 'on') %}
          mdi:garage-open
        {% else %}
          mdi:garage
        {% endif %}
      availability_template: "{{ not is_state('binary_sensor.lhs_garage_door_status', 'unavailable') }}"
- platform: template
  covers:
    rhs_garage_door:
      friendly_name: "RHS Garage Door"
      device_class: garage
      open_cover:
        service: switch.turn_on
        data:
          entity_id: switch.rhs_garage_door_remote
      close_cover:
        service: switch.turn_on
        data:
          entity_id: switch.rhs_garage_door_remote
      stop_cover:
        service: switch.turn_on
        data:
          entity_id: switch.rhs_garage_door_remote
      value_template: "{{ is_state('binary_sensor.rhs_garage_door_status', 'on') }}"
      icon_template: >-
        {% if is_state('binary_sensor.rhs_garage_door_status', 'on') %}
          mdi:garage-open
        {% else %}
          mdi:garage
        {% endif %}
      availability_template: "{{ not is_state('binary_sensor.rhs_garage_door_status', 'unavailable') }}"

I also have this cover group:

- platform: group
  name: "Garage Doors"
  entities:
    - cover.lhs_garage_door
    - cover.rhs_garage_door

The docs says:

Otherwise, the group state is unavailable if all group members are unavailable.

But I see this:

Both individual covers are unavailable but the group shows unknown.

What am I missing?

Looks like a bug. That snippet you linked is copied and pasted to all the group integrations, its not specific to cover entities. But it looks like cover entities don’t handle unavailable at all in here:

So yea, believe its a bug. Please create an issue

1 Like

Thanks for checking in. I’ve reported the issue.