Disable legacy device tracker no platform log (#95839)

This commit is contained in:
Martin Hjelmare 2023-07-04 13:26:48 +02:00 committed by GitHub
parent c84dacf2fc
commit 081e4e03a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -726,6 +726,10 @@ class DeviceTracker:
class Device(RestoreEntity):
"""Base class for a tracked device."""
# This entity is legacy and does not have a platform.
# We can't fix this easily without breaking changes.
_no_platform_reported = True
host_name: str | None = None
location_name: str | None = None
gps: GPSType | None = None