šŸ’” auto-entities 2.0.0 available on new fork

Yep, seems like it was a ā€œsilenceā€ smooth swap !
Thanks for the hard work !

1 Like

thanks - that worked perfectly - very smooth.

1 Like

FYI for me it was not working at all. I’ve even rebooted my HA system and still gets this on all cards. I had to use ā€œRedownloadā€ and then it started working

1 Like

:mega: auto-entities 2.1.0-beta.1 available with rename config for filter and main config :mega:

auto-entities 2.1.0-beta.1 available with rename option (see dev README). This may be an option depending where Home Assistant 2026.4.0 beta lands on entity renaming. No matter how that lands it will remain available to rename, which has been a common feature request where for now you needed to resort to eval_js on the option with mixed success.

3 Likes

Since this beta has been available, all of my auto-entities cards are gone. I’ve tried to remake them but I can’t get it to work again. I did not install this beta version, should I?

If you did not, it’s impossible that you have been ā€œaffectedā€ by an ā€œavailableā€ update .So check your auto-entities-version in HACS
In 2.0.0 every nested auto-entities works for me

1 Like

You are correct. I rebooted Home Assistant and now they are working. Thank you for your help :smiley:

1 Like

:mega: auto-entities 2.1.0-beta.3 available :mega:

2.1.0-beta.3 is available and includes state_translated for rename method and variable in eval_js (added in beta.2) and sort to support multiple sort levels and moved after rename (added in beta.3).

2 Likes

:mega: auto-entities 2.2.0 reelased :mega:

:star: New Features

  • filter: Add group_expanded filter with recursive group expansion (#37) (30b4a02)
  • rename: Add trim option to rename configuration (#41) (96c4735)
  • rename: Support arrays for find/replace to enable multiple sequential operations (#44) (8f62f85)
  • sort: support reverse-only sort config to reverse current list (#36) (0279dee)

:lady_beetle: Bug Fixes

  • eval_js: restore full state object in options eval_js templates (#42) (53ab1ef)
5 Likes

FR: :slight_smile: Have you ever thought of adding a ā€œDividerā€ somehow , in some of my Auto-entities i Include i.e various groups/or entities(Domains)(States) for that matter.
, I would love that those could be ā€œDividedā€ by a row ā€œwith a headerā€ ( Just to make it more ā€œcomplicatedā€ :grin:

IE

  • Include : Domain-Switches off
    Divider
  • include Domain- Switches on

Or between Whatever Multiple(variations) Includes i have

Already available but kind of hidden, thought the UI has ā€˜Add custom entry’ and adds a section type without including any guide that you need to add label.


type: custom:auto-entities
card:
  type: entities
filter:
  include:
    - entity_id: sun.sun
    - type: divider
    - entity_id: sun.sun
    - type: section
      label: Title
    - entity_id: sun.sun
  exclude: []

UPDATE. Readme now update with information on the two special types.

1 Like

I’ll read and try it out, see if i can combine it i.e with custom:text-divider-row :grinning:
Haven’t really thought alot about it, but the thought popped up again, with your latest release
hmmmm,seems like it doesn’t work with

card:
  square: false
  columns: 5
  type: grid
card_param: cards

This can work, with two tweaks:

  1. Use type: heading
  2. Need to style the grid for the heading to use a full row CSS { grid-column: 1 / -1; }

Example below

Caveats:

  • the heading will be included as a count, so will always cause a-e to show, even if show_empty is false (types of section and divider don’t get counted when counting up generated entities).
  • sorting overall is going to break title position of course, but that is the same with divider, section
type: custom:auto-entities
filter:
  include:
    - options:
        type: tile
      area:
        area: kitchen
        active_choice: area
    - type: heading
      heading: Title
    - options:
        type: tile
      area:
        area: living_room
        active_choice: area
  exclude: []
show_empty: true
card_param: cards
card:
  type: grid
  square: false
  uix:
    style: |
      hui-card:has(.type-heading) {
        grid-column: 1 / -1;
        border-bottom: 1px solid var(--divider-color);
      }

1 Like

Thanx Alot, I Finally got something, thou without a Line

And i still have ā€œissuesā€ with finding right Path’s for the .shape ( So i still have this underneath both Groups :frowning: ( On the other hand, i have thought about replacing these with Tiles ) but still with border-radius: 10

I actually haven’t figured out howto use The Path Helper in the Doc, where/how should i ā€œrunā€ i.e

uix_style_path($0)

          - type: custom:auto-entities
            filter:
              include:
                - type: heading
                  heading: Aqara Devices
                - group: group.aqara_home
                  options:
                    type: custom:mushroom-entity-card
                    icon_color: '#4682B4'
                    hide_state: true
                    uix:
                      style:
                        mushroom-shape-icon$: |
                          .shape {
                            border-radius: 10px !important;
                            height: 50px !important;
                            width: 50px !important;     
                          }
                - type: heading
                  heading: Ikea Devices
                - group: group.ikea_home
                  options:
                    type: custom:mushroom-entity-card
                    icon_color: amber
                    vertical: true
                    hide_state: true
                    uix:
                      style:
                        mushroom-shape-icon$: |
                          .shape {
                            border-radius: 10px !important;
                            height: 50px !important;
                            width: 50px !important;      
                          }
            show_empty: true
            card_param: cards
            card:
              type: grid
              columns: 5
              square: false
              uix:
                style: |
                  hui-card:has(.type-heading) {
                    grid-column: 1 / -1;
                    justify-self: center
                  }
                    :host {
                      --mush-icon-symbol-size: 34px;
                      --mush-card-primary-font-size: 12px;
                      --mush-card-primary-line-height: 10px;
                      --mush-card-primary-font-weight: lighter;
                    }

In FireFox Inspect ?

Add your desired border to hui-card:has(.type-heading) { }. My example had border-bottom: 1px solid var(--divider-color)

Yes, in cosole. Highlight to element you want to style, which will be $0 in console, then use uix_path($0).

Yes i did copy it but as i didn’t see any line , i removed it ( Maybe i have to check my Theme)
EDIT, yep that must be it, i just change the var to primary-color

1 Like

Try the good ol red or something. Perhaps you have styled out divider-color.

1 Like

Hmmmmm, i only know howto find the various elements by clicking
So you explanation says me nothing

I.e
When i click highlight, and click the element, then what i don’t see anything in Console, and where /what do i use $0Ā“vs uix_path($0) in there inspect/console ?
Im totally blank here :blush:

Two things:

  1. What you click on becomes a special console variable $0.
  2. So you run uix_path($0) in console to run uix_path on highlighted element.

I clearly have no idea what im doing , or how to use inspect and ā€œconsoleā€ what ever you mean by Console, nor howto/where to ā€œrunā€ something

As said, i can just ā€œtraverseā€ the ā€œstructureā€ and/or click an element , maybe it’s different(easier to understand) in another browser than FF , because i totally don’t know what you mean

where do i see this ?, the ā€œusualā€ path below in the inspect window ?