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