mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Add unique_id attribute to Alpha2Climate entity (#70964)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
@@ -50,6 +50,7 @@ class Alpha2Climate(CoordinatorEntity[Alpha2BaseCoordinator], ClimateEntity):
|
|||||||
"""Initialize Alpha2 ClimateEntity."""
|
"""Initialize Alpha2 ClimateEntity."""
|
||||||
super().__init__(coordinator)
|
super().__init__(coordinator)
|
||||||
self.heat_area_id = heat_area_id
|
self.heat_area_id = heat_area_id
|
||||||
|
self._attr_unique_id = heat_area_id
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self) -> str:
|
def name(self) -> str:
|
||||||
|
Reference in New Issue
Block a user