I just updated to version 0.70.1 but my rest sensor id still showing 0.70?
# Version and Availability
- platform: rest
resource: https://raw.githubusercontent.com/home-assistant/hassio/dev/version.json
name: Hass Current Version
value_template: '{{ value_json.homeassistant }}'
I was told this on the Discord by @marius. He said @pvizeli had a post for it somewhere. It seems to be correct anyway. The URL for stable and Beta seems correct and the old thread is showing superseded information.
It does work technically, but hassio updates usually follow in some days. This is what the Updater docs say:
The updater component will check daily for new releases. It will show a badge in the frontend if a new version is found. As Hass.io has its own schedule for release it doesn’t make sense to use this component on Hass.io.
You can keep it configured, however, to help the developers:
The updater component will also collect basic information about the running Home Assistant instance and its environment.
I was wondering if there is a specific reason you are using a template sensor instead of a template binary sensor?
I think your automation will not be triggered. The entity_id should be sensor.hass_current_stable_version.
Unfortunately there is one drawback: at system start, the automations do not get triggered. I currently have 0.69.1 installed, the sensor shows 0.70.1 is available. I guess the automations are not yet available before the sensors get their initial value.
We use now s3.amazonaws.com/hassio-version/ with ‘stable.json’, ‘beta.json’ or ‘dev.json’ to receive version information for hass.io - The old file version.json from github will be not updated anymore