Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 99036

Installed version of HassOS to compare with latest available?

$
0
0

@f00dagi wrote:

Hi!

I want to indicate in my UI frontend if there are new home assistant and hassOS versions by comparing latest available with current. I have managed this for home assistant but not for hassOS.

To get the latest available version I use the following code to create a sensor.

- platform: template
  sensors:
    hassos_available_version:
      value_template: "{{ state_attr('sensor.latest_available_version', 'hassos') }}"

I have still not found a way to identify the current installed version. My best lead has been to get the information through the command line but it seems the information is not available from within home assistant?

I tried different variants of

- platform: command_line
  name: hassos
  command: hassio host info

Anyone that has a suggestion on how to proceed? Thanks!

Capture

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 99036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>