From de4e3b5ffef35f4cd28d90e14b4799c1847f0e83 Mon Sep 17 00:00:00 2001 From: Martin Hjelmare Date: Wed, 28 Jun 2023 17:06:23 +0200 Subject: [PATCH] Disable sun.sun no platform log (#95450) --- homeassistant/components/sun/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/homeassistant/components/sun/__init__.py b/homeassistant/components/sun/__init__.py index a2378136a06..de1c545739f 100644 --- a/homeassistant/components/sun/__init__.py +++ b/homeassistant/components/sun/__init__.py @@ -121,6 +121,9 @@ class Sun(Entity): _attr_name = "Sun" entity_id = ENTITY_ID + # This entity is legacy and does not have a platform. + # We can't fix this easily without breaking changes. + _no_platform_reported = True location: Location elevation: Elevation