mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Add unique_id to ohmconnect (#78479)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
@@ -51,6 +51,7 @@ class OhmconnectSensor(SensorEntity):
|
||||
self._name = name
|
||||
self._ohmid = ohmid
|
||||
self._data = {}
|
||||
self._attr_unique_id = ohmid
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
|
Reference in New Issue
Block a user