Lovelace: Multiple entity row

Btw, I used this word just a few times since basically I speak Russian. Thanks again for correcting my error.

1 Like

Do you mean this?

  - type: entities
    entities:
      - type: custom:multiple-entity-row
        entity: sun.sun
        entities:
          - entity: input_boolean.test_boolean
            name: flag
            toggle: true
          - entity: input_boolean.test_boolean
            name: flag
            toggle: true
          - entity: input_boolean.test_boolean
            name: flag
            toggle: true
          - entity: input_boolean.test_boolean
            name: flag
            toggle: true
          - entity: input_boolean.test_boolean
            name: flag
            toggle: true
        show_state: false
        column: true

изображение

With English being a second language and the technical nature of HA it’s a bloody miracle how great all your posts are IMO

4 Likes

Agreed.

1 Like

Anyway, I am still just a beginner and know a little about many HA areas and appreciate a good support a lot.

1 Like

Header names moved to bottom:
изображение

Hi, anyone else (probably depending on your local settings) experiencing strange formatting since the v4.3.0 update? Please have a look at Multiple-entity-row card: local number formatting update broke view

yes, that’s exactly what i mean. Thank you. But is it also possible to change the size of the card and put the title in the top center instead of the front?

Not sure I am getting the point, create a draft in MS Paint or smth.

Hello,
nevermind don’t know how to explain it. But if I want to control a media player instead of a switch, then I have to replace toggle with something else, but what? I’m really just experimenting with HA. I should be able to find more info somewhere on how best to start with this.

Not clear what you want. Give a picture (MS Paint etc) of a design you need.

Ok, I understand that. my english isnt great!!
What I mean: Is it possible if I turn off the switch (red) that the media also stops playing and that I put a switch where the black circle is that I can start the media and stop playing

You may add as many toggles as you like, just add appropriate actions for each toggle.
Or you may replace toggles by icons and consider them as buttons.

I have this card, where hide_if doesn’t do anything:

type: entities
entities:
  - entity: sun.sun
  - entity: sun.sun
    type: custom:multiple-entity-row
    name: Above
    hide_if: below_horizon
  - entity: sun.sun
    type: custom:multiple-entity-row
    name: Below
    hide_if: above_horizon

I’ve tried multiple variants, without effect:

  - entity: sun.sun
    type: custom:multiple-entity-row
    name: Below
    hide_if: 
      value: above_horizon

  - entity: sun.sun
    type: custom:multiple-entity-row
    name: Below
    hide_if: 
      value:
        - above_horizon

The README in the repo doesn’t provide any examples. Am I doing something wrong?

This card is for displaying a main entity and secondary entities (optional).
The “hide” options are for secondary entities.

According to the documents, the hide_if should work for both the main entity as well as the secondary.

See this link to the main entity documentation:

And this link to the secondary documentation:

Wrong, the 1st link is for secondary entities, the 2nd is for “secondary_info” for the main entity.

1 Like

OK. Well, that isn’t stated explictly, but I’ll take this for true. I’ll move on and use another way to filter entities. :slight_smile:

This is what I ended up with, cleanly:

type: entity-filter
entities:
  - entity: sun.sun
    name: Zon op
    state_filter:
      - below_horizon
    type: custom:multiple-entity-row
    attribute: next_rising
    format: relative
    icon: mdi:weather-sunset-up
  - entity: sun.sun
    name: Zon onder
    state_filter:
      - above_horizon
    type: custom:multiple-entity-row
    attribute: next_setting
    format: relative
    icon: mdi:weather-sunset-down

Did you ever found a solution for this? I have the same problem…

If I have more entities they will be on the right side and not seen… I would like to center all these entities. Is that possible?

My code:

entity: sensor.nordpool_kwh_se3_sek_3_095_0
icon: none
type: custom:multiple-entity-row
name: false
state_header: Spotpris
format: precision2
unit: sek/kWh
entities:
  - entity: sensor.pool_heater_power
    format: precision0
    name: Förbr/nu
    unit: watt
  - entity: sensor.daily_energy_peak
    format: precision2
    name: Förbr/idag
  - entity: sensor.monthly_energy_peak
    format: precision2
    name: Förbr/mån

Probably with some card-mod magic. @ Ildar_Gabdullin is your first go to expert for that :slight_smile: Probably there already is an example for that.

1 Like