mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
Add unique_id attribute to Alpha2Climate entity (#70964)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
0264f060e4
commit
d9433e698d
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user