Add unique_id to ohmconnect (#78479)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Brad Downey
2022-09-19 12:54:01 -07:00
committed by GitHub
parent 10a12b1bc9
commit f07204ba55

View File

@@ -51,6 +51,7 @@ class OhmconnectSensor(SensorEntity):
self._name = name self._name = name
self._ohmid = ohmid self._ohmid = ohmid
self._data = {} self._data = {}
self._attr_unique_id = ohmid
@property @property
def name(self): def name(self):