mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
Add unique id to geonetnz_volcano sensors (#108556)
add unique id to each sensor
This commit is contained in:
parent
fcaa2fcf03
commit
a7c94dda73
@ -63,6 +63,7 @@ class GeonetnzVolcanoSensor(SensorEntity):
|
||||
self._config_entry_id = config_entry_id
|
||||
self._feed_manager = feed_manager
|
||||
self._external_id = external_id
|
||||
self._attr_unique_id = f"{config_entry_id}_{external_id}"
|
||||
self._unit_system = unit_system
|
||||
self._title = None
|
||||
self._distance = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user