Entities not marked as used in automations when part of UI block of actions

Hello,

Setting up automations with the UI is easy and straightforward. Used devices/entities are linked to the respective entity details screen.

However, when I “group” different actions in the UI as a block, this connection is not visible. The culprit seems to be the use of “execute actions sequentially” in the automation UI. Without it, things are ok.

image

correctly translates to YAML

  - sequence:
      - type: turn_off
        device_id: 60342f9dcbcfa2eb2d6ce708fc4bc581
        entity_id: d96ecd9bccbd1a6d580bc0bb97bcf2d2
        domain: switch
      - action: cover.open_cover
        metadata: {}
        data: {}
        target:
          entity_id:
            - cover.kuche_erker_1
            - cover.kuche_erker_2_3

Entity cover.kuche_erker_1 has been assigned the name Küche Erker 1, which is the alias for m000214.motor2. Its device info screen is not displaying the automation:

image

Is fixed with Fix referenced objects in script sequences by arturpragacz · Pull Request #135499 · home-assistant/core · GitHub and will be shipped with 2025.1.3

1 Like