mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
that entities will always get mapped to the same property ZPID code.
This commit is contained in:
parent
df6846344d
commit
281445917b
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user