Lovelace: Multiple entity row

Hello everyone,

I’m running into an issue with the more-info dialog in my Home Assistant setup. I’m using multiple-entity-row v4.5.1, and despite configuring the tap_action to show the dialog for climate.hmip_eg_kueche_wt, it always defaults to sensor.heizgruppe_eg_kueche_custom.

Here’s my current YAML:

type: custom:multiple-entity-row
entity: sensor.heizgruppe_eg_kueche_custom
tap_action:
  action: more-info
  entity: climate.hmip_eg_kueche_wt
show_state: false
icon: mdi:radiator
secondary_info:
  entity: sensor.heizgruppe_eg_kueche_custom
  attribute: window_state
entities:
  - entity: sensor.heizgruppe_eg_kueche_custom
    attribute: target_temperature
    name: soll
  - entity: sensor.hmip_eg_kueche_wt_temperatur
    name: ist

Is there a way to force the tap_action to bring up climate.hmip_eg_kueche_wt’s more-info dialog? Any advice would be appreciated!

Explained here
Overridden entity only works for additional entities & for “show_state: true” - see this minimal example:

type: entities
entities:
  - type: custom:multiple-entity-row
    entity: sun.sun
    tap_action:
      action: more-info
      entity: zone.home
    show_state: true

image
Tapping on Red - does not work, tapping on Green - does.
The standard generic-entity-row (part of this custom card) does not support overridden entity for more-info, but it will change & resolve the issue hopefully.

Update: this functionality was added in HA 2024.11.

HI,
I am using custom:auto-entities along with custom:multiple-entity-row and want to show the upcoming event dates in “YYYY-MM-DD” format without the time, … I tried this

type: custom:auto-entities
card:
  type: entities
  title: Kommende Geburtstage 🎂
filter:
  include:
    - entity_id: sensor.anniversary*
      options:
        type: custom:multiple-entity-row
        unit: Tage
        entity: this.entity_id
        entities:
          - attribute: current_years
            name: Alter jetzt
            unit: Jahre
          - attribute: next_date
            format: date
            name: Datum
sort:
  method: state
  numeric: true
  count: 10

which at least seems to be syntactical correct, but it generates:

which is not exactly what I tried to do. It seems to be pretty easy, as I really could not find any solution here in this epic thread; but I also do overlook the butter in our fridge.
Thank you for a hint/solution or pointer.
Juergen

You should start with achieving your goal WITHOUT auto-entities first.

Hi @Ildar_Gabdullin ,
tried before, did not achieve it. I can live with what I see. Clumsy, but if this is the way it has to be, I can/have to live with it.
thank you
Juergen

Finally trying the Multiple Row Entry on one of my dashboards. I would like to include the battery level icon along the % level on the same line. When using a TILE CARD config all I need is the entity specified and I get the sensor name, % of charge and the colored icon that will change as the level drops. Is there some special CSS formatting or card_mod I need to set to have the corrrect icon show next to the %?
Thanks, John.


You have a wrong syntax - show_state is only supported for the main entity.
To show an icon for an additional entity, use “icon: true”.
It is all described in docs.

I had tried the icon: true before but the color was constant. What I needed was state_color: true along witk icon: true. I missed that keyword. Thanks…

Screenshot 2024-11-09 235615

I had similar need (but needed unrelated icon) and solved by using separate entity just for icon and colored it with card_mod. This way you can choose colors and have as many states as you need.

relevant code:

          entity: sensor.boiler_outlet_power
          type: custom:multiple-entity-row
          name: Boileris
          icon: mdi:water-boiler
          secondary_info: last-changed
          show_state: false
          entities:
            - entity: sensor.boiler_water_state
              name: " "
              icon: true
            - entity: water_heater.ecomax_810p_l_touch_indirect_water_heater
              name: Temp
              format: precision1
              attribute: current_temperature
            - entity: sensor.boiler_price
              name: Kaina
            - entity: sensor.boiler_outlet_power
              name: Dabar
          card_mod:
            style: |
              .icon-small {
                color: 
                  {% if states('sensor.boiler_water_state') == 'Heating' %}
                    orange
                  {% elif states('sensor.boiler_water_state') == 'Preparing' %}
                    burlywood
                  {% else %}
                    steelblue
                  {% endif %};
              }