mirror of
https://github.com/elisspace/core.git
synced 2026-10-02 23:39:53 +00:00
Add unique_id to ohmconnect (#78479)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
co-authored by
Franck Nijhof
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):
|
||||
|
||||
Reference in New Issue
Block a user