mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Update unique id
This commit is contained in:
@@ -131,7 +131,7 @@ class SMHISensor(SmhiWeatherBaseEntity, SensorEntity):
|
||||
longitude,
|
||||
coordinator,
|
||||
)
|
||||
self._attr_unique_id += f"-{entity_description.key}"
|
||||
self._attr_unique_id = f"{latitude}, {longitude}-{entity_description.key}"
|
||||
|
||||
def update_entity_data(self) -> None:
|
||||
"""Refresh the entity data."""
|
||||
|
Reference in New Issue
Block a user