Badges for addon service status

Took me way longer than I wanted to spend on this, but here is a custom component that can get the state:

USE AT YOUR OWN RISK

It’s pretty hacky at the moment. I was even so lazy as to modify the object the hassio component uses by adding some methods to it directly. Make sure you have a way to access your configs without the hassio component and disable this custom component if you run into issues.

Put all of those files under custom_components/hassio_info/ and then add to your config:

hassio_info:

It will find your installed addons automatically and create two sensors and a switch for each one:

  • sensor.hass_io_addon_name_version: current version
  • sensor.hass_io_addon_name_last_version: latest available version
  • switch.hass_io_addon_name: switch to turn on/off

You currently have to restart whenever you install an addon for it to get picked up.

5 Likes