mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Add Shelly Gen1 beta_version attribute to firmware update sensor (#59359)
This commit is contained in:
@@ -126,6 +126,7 @@ REST_SENSORS: Final = {
|
||||
extra_state_attributes=lambda status: {
|
||||
"latest_stable_version": status["update"]["new_version"],
|
||||
"installed_version": status["update"]["old_version"],
|
||||
"beta_version": status["update"].get("beta_version", ""),
|
||||
},
|
||||
entity_category=ENTITY_CATEGORY_DIAGNOSTIC,
|
||||
),
|
||||
|
Reference in New Issue
Block a user