From 6fe2612f1db48f3c98169b8cfe148a28fb994dff Mon Sep 17 00:00:00 2001 From: G Johansson Date: Fri, 6 Dec 2024 16:19:56 +0000 Subject: [PATCH] Fix comment --- homeassistant/helpers/entity.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/helpers/entity.py b/homeassistant/helpers/entity.py index 38a2c43db49..fc3416bd31f 100644 --- a/homeassistant/helpers/entity.py +++ b/homeassistant/helpers/entity.py @@ -973,7 +973,8 @@ class Entity( if self.hass is None: raise RuntimeError(f"Attribute hass is None for {self}") - # Break if entity is not loaded using EntityComponent, introduced in 2025.1 + # Break if entity is not loaded using EntityComponent + # behavior changed from logging in in 2025.1 if self.platform is None: report_usage( # type: ignore[unreachable] f"Entity {self.entity_id} ({type(self)}) does not have a platform,"