Add a "running" state for automations

I think the following code can archive your goal, I hope. You need AutoEntities. I’ve also used Mushroom, but this isn’t necessary.

Big advantage with AutoEntities: it shows only running automations. When automation is completed or not running, it will hide.

type: custom:auto-entities
show_empty: false
card:
  square: false
  type: grid
  title: Running Automations
  columns: 1
card_param: cards
filter:
  include:
    - domain: automation
      attributes:
        current: 1
      options:
        type: custom:mushroom-template-card
        primary: |-
          {% set entityname = (entity) %}
          {{state_attr(entityname, 'friendly_name')}}
        secondary: Running
        icon: null
        icon_color: green
        multiline_secondary: true
  exclude: []
sort:
  method: state
  reverse: false

I hope this is something your looking for. IMO, the state entity can have more options in the future.

1 Like