Update the name of Zestimate sensors (#23770)

* Zestimate: fix for issue #23757
Changed name property to return Zestimate
and the property address.  This will make it easier
distinguish multiple Zestimate sensor entities
in the UI.

Also removed MIN_TIME_BETWEEN_UPDATES in
favor of SCAN_INTERVAL per suggestion from
amelchio#9580 on Discord

* Zestimate fix for issue #23757

Changed name property to return Zestimate
and the property address.  This will make it easier
distinguish multiple Zestimate sensor entities
in the UI.

* Changed name property to return Zestimate
and the property address.  This will make it easier
distinguish multiple Zestimate sensor entities
in the UI.

* moved code fix to the correct function

* removed code change from unique_id function
pull/24084/head
dreed47 2019-05-24 10:01:55 -04:00 committed by Fabian Affolter
parent 6cef850497
commit 0a9a8ecc4e
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class ZestimateDataSensor(Entity):
@property
def name(self):
"""Return the name of the sensor."""
return self._name
return '{} {}'.format(self._name, self.address)
@property
def state(self):