Add Shelly Gen1 beta_version attribute to firmware update sensor (#59359)
parent
4ac7dfc983
commit
adfbcfa704
|
@ -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,
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue