Closed DecentM closed 4 years ago
Try this._config.entities[0]
That's exactly what I needed, thank you! š I think this is useful enough to have a place in the docs, or even a property on the element for easier access.
If you don't want to use this issue to track that, I'm fine with closing it š
That's exactly what I needed, thank you! š I think this is useful enough to have a place in the docs, or even a property on the element for easier access.
If you don't want to use this issue to track that, I'm fine with closing it š
Id like to echo that it would be extremely helpful to have this in the documentation somewhere.
Is your feature request related to a problem? Please describe. I'm using auto-entities to render a list of my Steam friends based on their online/offline status. The Steam integration now includes the banner image of the game they're playing, and I want those image to show up in HA using multiple picture-element cards.
Since the picture-element card cannot accept a template as the image URL, I'm trying to use config-template-card to wrap it. Auto-entities would pass all my Steam friends to config-template-card, which in turn would pass the image state attribute to picture-elements.
Describe the solution you'd like I'd like to use configuration that looks something like this (emphasis on the "image" line):
Describe alternatives you've considered I tried using the templated entities fearture, but what I'd like to do is kind of the opposite idea.
Additional context I realise I could specify all my friends in the vars array. The reason I don't want to use variables here is because I already have the list of entities specified elsewhere, so duplicating that list of entities would make the configuration unbearable to maintain.