Just upgraded to HA Supervisor 2020.10.0, and now my Supervisor sensor is saying that I have 20 add-ons needing an upgrade but I don’t.
This is the sensor code which has been working fine until this afternoon:
sensor:
# Sensor to track available updates for supervisor & addons
- platform: command_line
name: Supervisor updates
command: 'curl http://supervisor/supervisor/info -H "Authorization: Bearer $(printenv SUPERVISOR_TOKEN)" | jq ''{"newest_version":.data.version_latest,"current_version":.data.version,"addons":[.data.addons[] | select(.version != .installed)]}'''
value_template: "{{ value_json.addons | length }}"
json_attributes:
- newest_version
- current_version
- addons
Any idea why this sensor is wrongly reporting these updates?