Open denveronly opened 4 months ago
forget about card_mod...this is way i use
where you have entity: script.update_solar_forecast type: custom:multiple-entity-row name: Solcast state_header: Update show_icon: false toggle: true state_color: false icon: mdi:solar-power
try entity: script.update_solar_forecast type: custom:multiple-entity-row name: ' ' state_header: Update show_icon: false toggle: true state_color: false icon: mdi:none
forget about card_mod
I would not be so confident since in SOME use-cases this advice may not give a desired effect since entities-row
element will occupy SOME part of a row, not a whole row.
2 OP: ask in the main card-mod thread of Community (in case you have not asked already but have not closed this issue yet).
FWIW, choosing a non-existing icon seems to work for me. For the name you can use name: ''
.
according to the documentation you could suppress the name by setting it to false.
name: false
according to the documentation you could suppress the name by setting it to false.
name: false
This is not about the main entity.
perhaps I didn't get the point.
For me name: false
works for all entities: for the main entity but as well for the secondary entities.
It needs to be set per entity.
For me
name: false
works for all entities: for the main entity but as well for the secondary entities.
I was wrong.
Yes, name: false
works for the main entity as well:
There is a confusion in Docs: for additional entities it is said clearly about false
, for the main entity - it is not:
But anyway, hiding an icon by setting an empty/non-existing icon + hiding a name MAY help in some case - and MAY NOT in case of many additional entities (as it was already noted):
type: entities
entities:
- type: custom:multiple-entity-row
entity: sun.sun
entities:
- &ref_icon
entity: sun.sun
icon: true
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- type: custom:multiple-entity-row
entity: sun.sun
entities:
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- type: custom:multiple-entity-row
entity: sun.sun
entities:
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- type: custom:multiple-entity-row
entity: sun.sun
entities:
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- type: custom:multiple-entity-row
entity: sun.sun
name: false
icon: mdi:none
entities:
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
- *ref_icon
Hey all, i tried everything but i just cant hide the icon and name. i tried card-mod but it doesnt work.
my code looks like this `
entities: