mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 14:57:09 +00:00
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
This commit is contained in:
parent
6cef850497
commit
0a9a8ecc4e
@ -75,7 +75,7 @@ class ZestimateDataSensor(Entity):
|
|||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
"""Return the name of the sensor."""
|
"""Return the name of the sensor."""
|
||||||
return self._name
|
return '{} {}'.format(self._name, self.address)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def state(self):
|
def state(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user