1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-23 18:29:20 +01:00

Move has entity name to parent entity in Airzone Cloud (#102961)

airzone_cloud: consolidate _attr_has_entity_name

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
Álvaro Fernández Rojas
2023-10-28 16:32:31 +02:00
committed by GitHub
parent 5648dc6cd1
commit 7e4e124f50
4 changed files with 2 additions and 13 deletions

View File

@@ -34,6 +34,8 @@ _LOGGER = logging.getLogger(__name__)
class AirzoneEntity(CoordinatorEntity[AirzoneUpdateCoordinator], ABC):
"""Define an Airzone Cloud entity."""
_attr_has_entity_name = True
@property
def available(self) -> bool:
"""Return Airzone Cloud entity availability."""