Any way to show secondary info with templates (I’d like to see last-changed under each entity without using another card). FYI - I use the template since I have entities in groups in groups:
Hey all, im still pretty knew, im not a coder and i can figure out most things by looking at examples, but im having trouble trying to excluding automations from my list. Can someone help me out here pls? i know its easy
This shows me “dead” or missing devices on my network. But some of my devices are long-term off and I am fine with it, but don’t want to remove them. Usually the way to detect this is that their last update is the same as date of last HA start.
I have added input_datetime helper that gets stored current datetime 2 minutes after start of HA.
I would like to add additional filtration to this card where if it’s attribute last-updated < my stored value it is not shown.
I am struggling to get it working and I am not sure if that is even possible.
It should be somehow like this …
{{ as_timestamp(states('input_datetime.last_boot_timestamp')) | int > last-updated }}
{{ as_timestamp(states('input_datetime.last_boot_timestamp')) | int }}
you can template card options with custom:config-template-card which embeds your full config you posted here and allows to input a template as you like it to be
Thank you for your answer. I had a look at config-template-card but I fail to see how to do that. The documentation seems a bit sparse. It seems like the entities that are watched must be explicitly stated, but my list needs to come from auto-entities.
I really need just to add another filter to auto-entities.
If you could give some example it would be greatly appreciated.
Thank you.
would you know of a way to have an auto-entities filled grid card with custom:button-cards with a template filter?
I have made the confg with auto-entities and a fixed filter set, (where the button-card is used in the options: field) but can not make it happen using a filter: template (because that wont accept options…)
I do hope I make a user error. but believe I tried it all…
why, because i literally have no idea what im doing lol i dont know code, its trial an error for atm
I was hoping that each battery would have its own graph card not all battery devices on the one graph.
a yes, I forgot about that.
Ive managed to get it to work (and only did so because of the white stripping , without the {%- and others this wont work… )
next challenge is to build the button-card with its templates:
If you re-open the popup, does the custom_field work then? So if you press the button and the icon should turn into lightbulb, then close popup, then open again. If it’s changed, then this is due to browser_mod. It doesn’t update the icon when in a popup.