Fix for issue #23739. Added unique_id property so (#23769)

that entities will always get mapped to the same
property ZPID code.
This commit is contained in:
dreed47 authored and Pascal Vizeli committed 2019-05-10 06:16:00 +00:00
1 parent 0caa27094e
commit e6c5cc92d1
1 file changed
+5
@@ -66,6 +66,11 @@ class ZestimateDataSensor(Entity):
self.data = None
self.address = None
self._state = None
@property
def unique_id(self):
"""Return the ZPID."""
return self.params['zpid']
@property
def name(self):