From 0a9a8ecc4e30beef313faa5c7bc3ecb6cedd300c Mon Sep 17 00:00:00 2001 From: dreed47 Date: Fri, 24 May 2019 10:01:55 -0400 Subject: [PATCH] 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 --- homeassistant/components/zestimate/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/zestimate/sensor.py b/homeassistant/components/zestimate/sensor.py index 10467b20cfa..d48ecd8467c 100644 --- a/homeassistant/components/zestimate/sensor.py +++ b/homeassistant/components/zestimate/sensor.py @@ -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):