If I click on the state I get the popup I’ve defined but if I click on the name I get the more-info card.
eg
Clicking on the ‘8.0’ gives me my popup:
Clicking on ‘Number of zones defined’ gives me more-info:
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
box-shadow: 0em 0em 0.5em
opacity: 0.9
Did anyone figure out the way to format the date in the secondary info to display in the format of how many hours ago something was triggered or updated?
Hi everyone! I’m enjoying this plugin very much, I’ve gotten it to do exactly what I want for a few things in my instance of HA! I have a Shelly1PM with a temperature sensor add-on for my downstairs freezer, and showing both the freezer temp and the watts on one line is AWESOME.
I have 2 switches that I’m using this for. 1 switch is for my Pi-Hole instance, and I’m showing the days Adblock stats under the switch. I have another Shelly1PM in our bathroom on the GFCI outlets and I’m showing the Watts in the secondary info line for that one - it’s the “Did I leave anything on in the bathroom” peace of mind item for my wife!
My question is… does anyone know how to get the color of the icon to change with the state of the switch for these custom entities? As soon as I use this custom entity type, the icon no longer changes color when the switch is on. For example - in my screenshot I have the Master Bathroom Outlets on my dashboard twice - once as just a normal switch and the indicator works, and one as a custom entity that doesn’t work.
As the original author of the SecondaryInfo card, I now also recommend lovelace-template-entity-row as well. It is actively maintained and more feature-complete.
Hey, thank you! I just got the lovelace-template-entity-row module installed, and it’s absolutely perfect. I now have a “Master Bathroom Outlets” switch on my dashboard, showing Watts for the secondary info, and the icon changes color when I toggle the switch.
Really appreciate your responding to me and all of the work you put into this module!
Hey Guys, Im not sure if im doing something wrong or something broke the code in the latest update of HA, but here is a snippet of the code im using and what output im getting.
The last code is an example snippet i copied over to see if maybe my code is wrong and that still doesn’t work.
In a case like this… how would you remove the default secondary info–specifically, “Currently 74 °F”?
I have a few heat pumps. For two of them I just started using Sensibo, for which there’s a current_temperature attribute. My other heat pumps are using a different integration and don’t have that attribute… so I pull it from elsewhere. So now on the two Sensibo entities I have the current temperature duplicated. I’d like them to show up consistently if possible!
Does anyone have an example of using secondaryinfo-entity-row with auto-entities by chance? I cannot figure out how to make the two play nice together for the life of me. Thanks!
@thomasloven It sure would be nice to be able to use math somehow within [[ ]] and be able to divide by 2.55 there rather than having to create new templated sensors for every dimmable light you want to see as brightness_pct!
Hi Guys,
my Message starts like many others: I’m totally new to Home Assistant and it blows my mind! Sure I need some help with one thing or the other, as I’m coming from a totally different Smarthome mindset (FHEM, if somebody knows it).
I installed these great Custom Card, and it works fine with the provided samples, unfortunately with my own sensor it won’t.
Sorry guys for the off-topic, but it doesn’t seem like I’m able to PM mr. Romquenin
May I ask how did you manage to get this kind of card with the badge displayed? I’m trying to create exactly the same card (Time to bus) as you showed there with info in the badge, but failing miserably…
I do have custom-ui installed and currently displaying sensors in “entities” type card with additional info in custom:secondaryinfo-entity-row type entity. Tried adding “extra_badge” attribute all around, but without any luck.
Could you share your card config maybe?
Thanks a zillion!