Quality improvements for Tessie (#106218)

Quality improvements
This commit is contained in:
Brett Adams 2023-12-22 19:11:18 +10:00 committed by GitHub
parent 72da0a0e1d
commit abc57ea706
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 13 additions and 14 deletions

View file

@ -42,7 +42,6 @@ class TessieUpdateEntity(TessieEntity, UpdateEntity):
@property
def latest_version(self) -> str | None:
"""Return the latest version."""
# Dont show an update when its not in a state that can be actioned
if self.get("vehicle_state_software_update_status") in (
TessieUpdateStatus.AVAILABLE,
TessieUpdateStatus.SCHEDULED,