mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Fix sensor unique id in Islamic prayer times (#103356)
This commit is contained in:
@@ -78,7 +78,7 @@ class IslamicPrayerTimeSensor(
|
||||
"""Initialize the Islamic prayer time sensor."""
|
||||
super().__init__(coordinator)
|
||||
self.entity_description = description
|
||||
self._attr_unique_id = description.key
|
||||
self._attr_unique_id = f"{coordinator.config_entry.entry_id}-{description.key}"
|
||||
self._attr_device_info = DeviceInfo(
|
||||
identifiers={(DOMAIN, coordinator.config_entry.entry_id)},
|
||||
name=NAME,
|
||||
|
Reference in New Issue
Block a user