cjsimmons
(Chris Simmons)
February 15, 2020, 12:43am
36
UPDATE: See Below
I have just discovered this card. WOW, this can help reduce the size of a lot of cards. Great work!!!
I’m just having one problem. I’ve set the card up, but nothing shows. I can’t work it out.
This is what I have:
type: entities
entities:
- entity: sensor.abb_usage
type: 'custom:multiple-entity-row'
name: Usage
primary:
attribute: downloadedMb
name: Download
unit: Mb
secondary:
attribute: uploadedMb
name: Upload
unit: Mb
tertiary:
attribute: usedMb
name: Total
unit: Mb
I’m not seeing any errors. I get the main entity icon and name, but the primary, secondary & tertiary values are not showing.
This is the raw from the sensor:
usage: ''
usedMb: 9833
downloadedMb: 8465
uploadedMb: 1368
remainingMb: null
daysTotal: 29
daysRemaining: 29
lastUpdated: '2020-02-15T10:35:15+11:00'
nextRollover: '2020-03-15T00:00:00+11:00'
daysUsed: 0
allowanceMb: 100000000
friendly_name: ABB Usage
icon: 'mdi:blank'
entity_picture: /local/icons/abb/abb.png
Any ideas?
UPDATE:
I don’t know what happened. I tried again on another card and the manual changed.
This now works for me.
- entity: sensor.abb_usage
name: Usage
entities:
- attribute: downloadedMb
name: Downloaded
- attribute: uploadedMb
name: Uploaded
- attribute: usedMb
name: Total
type: 'custom:multiple-entity-row'
type: entities
benct
February 15, 2020, 1:30am
37
Just released a new major version of the card yesterday changing many of the configuration options, as you figured out. This thread could be outdated, but the github repository should have the latest setup instructions at all times.
cjsimmons
(Chris Simmons)
February 15, 2020, 1:45am
38
I installed via HACS. Maybe it hadn’t updated the description yet and was showing the old instructions. It’s working now and this card is great!!!
1 Like
kleju00
(Kleju00)
February 16, 2020, 1:44am
39
Is it possible to change the color of the icon?
- icon: mdi:lightbulb-off-outline
tap_action:
action: call-service
service: light.turn_off
service_data:
entity_id: light.living_room
I’m used to the black icons with the tap_action - this is the default color of such icons in Lovelace anyway.
maurizio53
(Maurizio Fabiani)
February 18, 2020, 11:54am
40
I was using the card in this way:
- entity: sensor.hp_printer_ink_cyan
style: |
:host {
--paper-item-icon-color: cyan;
}
type: custom:multiple-entity-row
name: Ink Cyan
icon: mdi:invert-colors
name_state: Livello
primary:
attribute: ['Installed At']
name: Installato il
secondary_info:
attribute: ['Warranty Expiration Date']
name: Scade il
But i get only the secondary_info showed in the frontend… How to get also the primary attribute ?
cjsimmons
(Chris Simmons)
February 18, 2020, 12:26pm
41
I just posted a fix on your other post in the HP Printer topic.
There was a change to the way that the multiple-entity-row works with getting attributes… I got caught out with this same thing the other day.
I’ve fixed your code, and this work for me. I only changed the code for black, but you can copy, paste, and edit for the others…
type: entities
entities:
- entity: sensor.hp8600_ink_black
style: |
:host {
--paper-item-icon-color: black;
}
type: 'custom:multiple-entity-row'
name: Ink Black
icon: 'mdi:invert-colors'
…
1 Like
benct
February 18, 2020, 12:43pm
42
Not directly, but you can use card-mod like in @maurizio53 example above.
benct
February 18, 2020, 12:43pm
43
Primary/secondary/tertiary was replaced with entities
in version 3.0.0:
entities:
- attribute: ['Installed At']
name: Installato il
1 Like
maurizio53
(Maurizio Fabiani)
February 18, 2020, 3:23pm
44
Thanks, i realized that just after posting…
kleju00
(Kleju00)
February 18, 2020, 6:16pm
45
card-mod works, but for all icons in a row. Does not work on a single entity in the form of the tap_action icon. I would like the play and pause icons to be black and the main entity icon of the vacuum cleaner to be in the default color (blue). It is possible?
HI @benct
after the lates update my auto-entities card isn’t populated any longer, using this.entity_id. I think I changed all updated config options, but would you please have a look what could be wrong?:
- type: custom:auto-entities
card:
type: entities
title: Multiple lights
show_header_toggle: false
filter:
include:
- domain: light
state: 'on'
attributes:
rgb_color: '! none'
options:
type: custom:multiple-entity-row
toggle: true
secondary_info: last-changed
entities:
- entity: this.entity_id
attribute: brightness
name: Bri
unit: '%'
- entity: this.entity_id
attribute: rgb_color
name: Rgb
worked just nicely before with primary and secondary…
thanks for having a look!
update
just letting you know this is working again. Not even sure an update caused this, but all fine once more.
2 Likes
Mikomi
(Hannes)
March 5, 2020, 9:15am
47
Great, just wat i needed.
Thank you so much.
One question, is it possible to change the size of the main icon?
I’ve even tried card-mod without succes.
ty
ThaNerd
(Turbo Tronix)
March 13, 2020, 10:50pm
48
Is there a way to have a lock.toggle on tap_action. I want to be able to lock and unlock my front door on tap.
klogg
(Klogg)
March 30, 2020, 11:08pm
49
I have a problem using tap_action
on this card.
If I use the card to simply to show an entity (sometimes with a custom secondary info) and define a tap action of browser_mod.popup
I get the default HA more-info pop up if I tap the name or icon, but the correct popup that I defined if I tap on the state.
This config…
type: custom:multiple-entity-row
entity: input_number.irrigation_number_of_zones
name: Number of zones defined
tap_action:
action: call-service
service: browser_mod.popup
service_data:
title: Number of zones defined
card:
type: entities
entities:
- entity: input_number.irrigation_number_of_zones
name: ' '
deviceID:
- this
style:
font-family: Oswald
font-size: 14px
border-radius: 10px
box-shadow: 0px 0px 8px 2px
"--paper-dialog-background-color": "#343433" # Popup header
"--paper-card-background-color": "#343433" # Card background
…produces this
Tapping the state gives this popup (correct)
Tapping the name or icon gives this popup (incorrect)
Can anyone help?
ladaowner
(Ladaowner)
April 24, 2020, 1:08pm
50
entities:
- entity: binary_sensor.door_window_sensor_158d0002027e23
- entity: binary_sensor.door_window_sensor_158d0001fd6efe
- entity: binary_sensor.motion_sensor_158d00022548e0
- entity: light.tall
- entity: light.sofa
- entity: light.desk
- entity: switch.livingroom_light
- entity: switch.computer_light
- entity: switch.kitlight
- entity: cover.curtains
type: 'custom:multiple-entity-row'
secondary_info: last-changed
show_state: false
entities:
- icon: 'mdi:blinds-open'
tap_action:
action: call-service
service: cover.open_cover
service_data:
entity_id: cover.curtains
- icon: 'mdi:stop'
tap_action:
action: call-service
service: cover.stop_cover
service_data:
entity_id: cover.curtains
- icon: 'mdi:blinds'
tap_action:
action: call-service
service: cover.close_cover
service_data:
entity_id: cover.curtains
show_header_toggle: false
title: Livingroom
type: entities
What does error mean? The card works fine either with that message in Chrome, Firefox, Safari but not edge (Custom element does not exisit error), the URL resource has been added.
Expected a value of type {entity,name,icon} | entity-id
for entities.9.type
but received "custom:multiple-entity-row"
.
1 Like
ladaowner
(Ladaowner)
April 26, 2020, 6:32pm
51
Anyone help? Can you even add Multiple Entity Row to an entity card? If so can some send me an example that works
Sure, it’s just another entity in the list.
entities:
- entity: binary_sensor.door_window_sensor_158d0002027e23
- entity: binary_sensor.door_window_sensor_158d0001fd6efe
- entity: ...
- type: custom:multiple-entity-row
...
- entity: ...
1 Like
hshir
(Hillel)
April 26, 2020, 10:47pm
53
Hi There
First I love the card, keep up the good work, Thx
Is there away to change the space between the entities on the row?
If not, this feature would really help to make it look nicer when the entities are too cramped and there is
plenty of room in the row.
Thx
Hillel
ladaowner
(Ladaowner)
April 27, 2020, 8:42am
54
tried your code and get errors?
entities:
- entity: binary_sensor.door_window_sensor_158d0002027e23
- entity: binary_sensor.door_window_sensor_158d0001fd6efe
type: custom:multiple-entity-row
Expected a value of type {entity,name,icon} | entity-id
for entities.1.type
but received "custom:multiple-entity-row"
.
ladaowner
(Ladaowner)
April 27, 2020, 12:12pm
55
Expected a value of type {entity,name,icon} | entity-id
for entities.1.type
but received "custom:multiple-entity-row"
Got a feeling this error is mean to appear however not sure why it still fails in edge but works in all the other browsers.
Edge error
Resource URL has been added to HA dashboard in the new place.