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 Paulus Schoutsen committed 2019-05-09 20:18:28 -07:00
1 parent df6846344d
commit 281445917b
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):