mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 22:57:17 +00:00
that entities will always get mapped to the same property ZPID code.
This commit is contained in:
parent
df6846344d
commit
281445917b
@ -67,6 +67,11 @@ class ZestimateDataSensor(Entity):
|
|||||||
self.address = None
|
self.address = None
|
||||||
self._state = None
|
self._state = None
|
||||||
|
|
||||||
|
@property
|
||||||
|
def unique_id(self):
|
||||||
|
"""Return the ZPID."""
|
||||||
|
return self.params['zpid']
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
"""Return the name of the sensor."""
|
"""Return the name of the sensor."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user