core icon indicating copy to clipboard operation
core copied to clipboard

Covers of platforms group and template can't be exposed to voice assistants

Open mwhdc opened this issue 2 years ago • 1 comments

The problem

My system has several cover entities that are exposed to voice assistants. Some of the covers are actual devices and some are groups or templates defined in configuration.yaml.

As of 2023.5.0b0, the manually defined covers (of platform: group and platform: template) do not appear in the list of entities that can be exposed to voice assistants. Examples of the affected entities are included below.

I assume this is a bug or breaking change in a component like assist_pipeline and not related to the cover integration itself. If I have categorized incorrectly, please edit.

What version of Home Assistant Core has the issue?

2023.5.0b0

What was the last working version of Home Assistant Core?

2023.4.6

What type of installation are you running?

Home Assistant OS

Integration causing the issue

assist_pipeline

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

- platform: group
    name: Shades Primary
    entities:
    - cover.shade_primary_left
    - cover.shade_primary_right
  - platform: template
    covers:
      shades_primary_inv:
        friendly_name: Shades Primary Inv
        position_template: "{{ 100 - state_attr('cover.shades_primary','current_position') | int(100) }}"
        open_cover:
          service: cover.open_cover
          data:
            entity_id: cover.shades_primary
        close_cover:
          service: cover.close_cover
          data:
            entity_id: cover.shades_primary
        stop_cover:
          service: cover.stop_cover
          data:
            entity_id: cover.shades_primary
        set_cover_position:
          service: cover.set_cover_position
          data:
            entity_id: cover.shades_primary
            position: "{{ 100 - position }}"

Anything in the logs that might be useful for us?

No response

Additional information

No response

mwhdc avatar Apr 30 '23 12:04 mwhdc

fwiw, my covers from platform template are in google_assistant, but I have that configured via Yaml they do show in the list of entities

Scherm­afbeelding 2023-05-02 om 13 25 27

Mariusthvdb avatar May 02 '23 11:05 Mariusthvdb

This has been adjusted/fixed in 2023.5.0b7

frenck avatar May 02 '23 20:05 frenck