Disable proximity no platform log (#95838)

pull/95843/head
Martin Hjelmare 2023-07-04 12:52:04 +02:00 committed by GitHub
parent 8f2a21d270
commit 91087392fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -110,6 +110,10 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
class Proximity(Entity):
"""Representation of a Proximity."""
# This entity is legacy and does not have a platform.
# We can't fix this easily without breaking changes.
_no_platform_reported = True
def __init__(
self,
hass: HomeAssistant,