Trying to add badges from custom-ui

Currently I am trying to modify my garden group in a way that it shows the sensors as badges, which should be supported from custom-ui (https://github.com/andrey-git/home-assistant-custom-ui).

Installation of the ui components seems to have worked as I see the following:

image

and

image

I tried to configure the custom-ui in the following way:

customize_glob:
    "*.*":
      custom_ui_state_card: custom-ui
    group.tracked_devices:
      state_card_mode: badges
    group.garden:
      state_card_mode: badges

groups:

ground_floor:
  name: Erdgeschoss
  view: yes
  entities:
    - group.living_room
    - group.garden
garden:
  name: Garten
  entities: 
    - sensor.dht_221_esp_garden_temperature
    - sensor.dht_221_esp_garden_humidity
    - sensor.dht_221_esp_garden_voltage

And the result is the following:

I would have expected that the red part were badges instead of the default view. Maybe someone can give me a hint were I could make a change in my config to get the badges to show in the red area.

You must use group-in-group even if you want to turn the whole group into badges.

homeassistant:
  customize_glob:
      "*.*":
        custom_ui_state_card: custom-ui
      group.garden_badges:
        state_card_mode: badges
        
groups:
  garden:
  name: Garten
  entities: 
    - group.garden_badges

  garden_badges:
    entities: 
      - sensor.dht_221_esp_garden_temperature
      - sensor.dht_221_esp_garden_humidity
      - sensor.dht_221_esp_garden_voltage
1 Like

Thank you! That worked perfectly - thought I already tried it that way, but was probably not the case.