Remove available property for streaming in Teslemetry (#145352)

This commit is contained in:
Brett Adams 2025-05-27 05:11:35 +10:00 committed by GitHub
parent 848eb797e0
commit 001164ce1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 6 deletions

View File

@ -262,8 +262,3 @@ class TeslemetryVehicleStreamEntity(TeslemetryRootEntity):
self._attr_translation_key = key
self._attr_unique_id = f"{data.vin}-{key}"
self._attr_device_info = data.device
@property
def available(self) -> bool:
"""Return True if entity is available."""
return self.stream.connected

View File

@ -147,7 +147,7 @@
'unknown'
# ---
# name: test_device_tracker_streaming[device_tracker.test_origin-state]
'unknown'
'unavailable'
# ---
# name: test_device_tracker_streaming[device_tracker.test_route-restore]
'not_home'