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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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