From 3637d787cf5fe85146aa693a00813928e539211e Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Mon, 13 Mar 2023 14:01:28 +0100 Subject: [PATCH] Fix `intellifire` name property (#89632) Fix intellifire name property --- homeassistant/components/intellifire/entity.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/homeassistant/components/intellifire/entity.py b/homeassistant/components/intellifire/entity.py index 1e406aeb119..6ef63f5347c 100644 --- a/homeassistant/components/intellifire/entity.py +++ b/homeassistant/components/intellifire/entity.py @@ -11,6 +11,7 @@ class IntellifireEntity(CoordinatorEntity[IntellifireDataUpdateCoordinator]): """Define a generic class for Intellifire entities.""" _attr_attribution = "Data provided by unpublished Intellifire API" + _attr_has_entity_name = True def __init__( self, @@ -20,9 +21,6 @@ class IntellifireEntity(CoordinatorEntity[IntellifireDataUpdateCoordinator]): """Class initializer.""" super().__init__(coordinator=coordinator) self.entity_description = description - # Set the Display name the User will see - self._attr_name = description.name self._attr_unique_id = f"{description.key}_{coordinator.read_api.data.serial}" - self._attr_has_entity_name = True # Configure the Device Info self._attr_device_info = self.coordinator.device_info