is there way to detect the installed version via command line in hassio?
I used to use this on my AiO install:
- platform: command_line
command: “/srv/homeassistant/homeassistant_venv/bin/hass --version”
name: ‘HASS Installed’
scan_interval: 60
is there way to detect the installed version via command line in hassio?
I used to use this on my AiO install:
- platform: command_line
command: “/srv/homeassistant/homeassistant_venv/bin/hass --version”
name: ‘HASS Installed’
scan_interval: 60
You can get the running version from the Home Assistant API using a REST sensor.
sensor:
- platform: rest
resource: http://YOURHASSIOIP:8123/api/config
name: Home Assistant Version
value_template: '{{ value_json.version }}'
duh - of course - thank you