Paul Bottein
Paul Bottein
> Shouldn't we fetch the unique id once when opening the editor and use that for all actions instead of fetching it for every action? Do you think `unique_id` can...
Async calls can be removed with https://github.com/home-assistant/core/pull/78945
Did you test with other non-mushroom card ?
I didn't use Dwains Dashboard and I never had issue with my fan.
Does it work when you refresh the page ? The template is refreshed when your binary sensor change. But as you use relative time, it need to be refreshed every...
The entity card uses the `ha-relative-time` which is refreshed every minutes. Templates are only refreshed when the entity change. That's why it's not refreshed.
There isn't printer domain for now. I prefer to focus on existing domains to keep mushroom simple.
You can try with : ```yaml type: custom:mushroom-template-card primary: '{{ entity. friendly_name }}' secondary: '{{ entity.state }}' entity: zone.home ```
Oops I suggested wrong code 😅 This one is good : ```yaml type: custom:mushroom-template-card primary: '{{ state_attr(entity, "friendly_name") }}' secondary: '{{ states(entity) }}' entity: zone.home ```
`0` is considered as `false` by the template system so it doesn't render. I saw workaround for this issue but I can't find her anymore 😅 For templating the doc...