Skip to content

Commit

Permalink
Disable legacy device tracker no platform log (#95839)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinHjelmare authored and frenck committed Jul 5, 2023
1 parent 10a9b06 commit 577ffef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions homeassistant/components/device_tracker/legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,10 @@ async def async_init_single_device(dev: Device) -> None:
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
Expand Down

0 comments on commit 577ffef

Please sign in to comment.