Disable proximity no platform log (#95838)

This commit is contained in:
Martin Hjelmare
2023-07-04 12:52:04 +02:00
committed by GitHub
parent 8f2a21d270
commit 91087392fe

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,