Can anyone explain how I can make use of the assets in my custom button card, as area’s do not have a entity to pull from.
Cheers
Andrew.
Can anyone explain how I can make use of the assets in my custom button card, as area’s do not have a entity to pull from.
Cheers
Andrew.
If you have access to JS templates, the hass object has hass.areas[area].icon
and hass.areas[area].picture
(a URL)
great thanks a lot, worked like a charm.
I’d love to learn more about the options: