From e6c5cc92d1a6cf4e1cba6a8c03c61c4d8032c741 Mon Sep 17 00:00:00 2001 From: dreed47 Date: Thu, 9 May 2019 23:18:28 -0400 Subject: [PATCH] Fix for issue #23739. Added unique_id property so (#23769) that entities will always get mapped to the same property ZPID code. --- homeassistant/components/zestimate/sensor.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeassistant/components/zestimate/sensor.py b/homeassistant/components/zestimate/sensor.py index 036422d6800f5f..cb823dab0de7ae 100644 --- a/homeassistant/components/zestimate/sensor.py +++ b/homeassistant/components/zestimate/sensor.py @@ -66,6 +66,11 @@ def __init__(self, name, params): self.data = None self.address = None self._state = None + + @property + def unique_id(self): + """Return the ZPID.""" + return self.params['zpid'] @property def name(self):