Add shelly installed firmware info (#43221)

This commit is contained in:
Simone Chemelli 2020-11-19 10:47:23 +01:00 committed by GitHub
parent 0bf9734af1
commit 3dbfd2cb70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 17 deletions

View file

@ -64,7 +64,10 @@ REST_SENSORS = {
icon="mdi:update",
default_enabled=False,
path="update/has_update",
attributes={"description": "available version:", "path": "update/new_version"},
attributes=[
{"description": "latest_stable_version", "path": "update/new_version"},
{"description": "installed_version", "path": "update/old_version"},
],
),
}