Hello. I’m trying to add a link to the latest release notes in an entities card. But the URL doesn’t point to the right URL in the browser.
When I check {{ states.binary_sensor.updater.attributes.release_notes }}
in Developer Tools I get the URL I want: https://www.home-assistant.io/blog/2021/09/01/release-20219/
I tried a lot of variations with data-template
and value-template
it didn’t fix the issue. Any tips?
type: entities
entities:
- entity: sensor.local_version
name: HA installed version
- entity: binary_sensor.updater
name: HA Updates
type: custom:secondaryinfo-entity-row
secondary_info: >-
Newest Version:{% if states('sensor.latest_version_available') !=
'sensor.local_version' %} {{states('sensor.latest_version_available')}} {%
else %} {% endif %}
- type: weblink
name: Latest release notes
url: '{{ states.binary_sensor.updater.attributes.release_notes }}'
- entity: sensor.hacs
show_header_toggle: false
state_color: true
title: Home Assistant