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 functionpull/24084/head
parent
6cef850497
commit
0a9a8ecc4e
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue