Show current Lametric version if there is no newer version (#147538)

This commit is contained in:
Joost Lekkerkerker
2025-06-26 10:55:31 +02:00
committed by GitHub
parent 79df38eff2
commit 4b9b08ece5

View File

@@ -42,5 +42,5 @@ class LaMetricUpdate(LaMetricEntity, UpdateEntity):
def latest_version(self) -> str | None:
"""Return the latest version of the entity."""
if not self.coordinator.data.update:
return None
return self.coordinator.data.os_version
return self.coordinator.data.update.version