Updater component and lovelace

Any chance you throw together an “always available” entity that one can use in lovelace that will check if an update is available that works like this nifty automation?

Ideally updates notifications should be available somewhere in the UI, such as the (i) icon click and/or the notifications “bell”.

Are you wanting just a notification that there is an update available? Or do you also want the release notes in the notification?

Just an update with the new version that is available for my “flavor” installed. I happen to use docker hub, so the currently released tag.

Which part isn’t working from the post you linked?

Not sure if this helps, but I an automation to alert me if my version is lower than the sensor below:

  - platform: rest
    resource: https://pypi.python.org/pypi/homeassistant/json
    name: Latest version
    value_template: '{{ value_json.info.version }}'
    scan_interval: 3600

Using this template:

value_template: “{{ ( states(‘sensor.latest_version’) | string ) != ( states(‘sensor.current_version’) | string ) }}”

It’s not that it isn’t working (haven’t tried) but I think it should be included in the base code by default and appear in the notifications “bell”

I’m pasting your template with the correct single and double quote characters. You also need to include the version component

sensor:
  - platform: version

This works in the template interface:

value_template: "{{ ( states('sensor.latest_version') | string ) != ( states('sensor.current_version') | string ) }}"

Latest: {{states('sensor.latest_version')}}
Current: {{states('sensor.current_version')}}
1 Like