Replies: 5 comments
-
Love this idea |
Beta Was this translation helpful? Give feedback.
0 replies
-
Exactly what I'm looking for! |
Beta Was this translation helpful? Give feedback.
0 replies
-
+1 Good idea |
Beta Was this translation helpful? Give feedback.
0 replies
-
+1 I definitely need this! Both for Alarmo and for the Entity Filter card in Lovelace! |
Beta Was this translation helpful? Give feedback.
0 replies
-
That is what I am looking for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Request
For the cards that take lists of entities (specifically, in my case, the Logbook and Entities cards), I would love a feature to select all relevant entities using a label, rather than selecting them all individually for each card.
Or, alternatively, set the list of entities using a template.
The Use-Case
As part of my security system, I've got many different sensors that can trigger events and that I want displayed on my dashboard. Each of these entities appears on at least two cards, usually three or four.
For example, I use Logbook Card that to (ideally) display all security events throughout the system:
![image](https://private-user-images.githubusercontent.com/10095474/335369364-17837a68-c732-4c43-b7d8-bd27e80cc428.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyOTA5MDMsIm5iZiI6MTcyNDI5MDYwMywicGF0aCI6Ii8xMDA5NTQ3NC8zMzUzNjkzNjQtMTc4MzdhNjgtYzczMi00YzQzLWI3ZDgtYmQyN2U4MGNjNDI4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIyVDAxMzY0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk3YWVhNzE2MTI5ZjkxMjIyMWY4NzQwZGY5MDBiMjU0YzIyM2UzMzE1NDc4OTU2NTExZTlmNzhlNzVkYmM4YzAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.YCVlYijhNC8Dw-t-URZdBiUdnAQdk0kWZEgRZVCBDUY)
However, the sensors in that example are only a small subset of the ones I actually want. That list will be much, much longer by the time I'm done. And, as I said, each those entities all end up being used in a bunch of places. So I have to remember to update all those places whenever I add or update a sensor. Labels have the potential to make that a whole lot easier!
I can already use templates to set up automations (both triggers and actions) using labels. So the only missing piece is updating the dashboards as well.
Example
Let's say I want to add a new door sensor for the basement bulkhead, which should never usually be opened.
Without labels, I need to:
With labels, I could:
With the features currently available, my three automations can use that label (either with a template, or through a template entity such as
binary_sensor.alarmed_always_sensor_tripped
) to automatically pick up the new sensor. That's all (relatively) easy to configure through the UI.Unfortunately, using built-in features, I would still need to update the three dashboards manually.
But with this feature, I could also have the cards auto-update with the labels. Super fast and easy!
Workaround
Of course, there is always a workaround in Home Assistant, and this is no exception. There are custom cards I can use to generate cards from templates, but those are 3rd party and a lot more complicated to set up. I'll probably take the time to do it anyway, but a friendly, built-in option would be a lot easier. Hence the feature request.
Beta Was this translation helpful? Give feedback.
All reactions