mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
fix ecobee sensor unique id.
This commit is contained in:
parent
1ba60dc898
commit
ba530e5a16
@ -66,7 +66,7 @@ class EcobeeSensor(Entity):
|
||||
@property
|
||||
def unique_id(self):
|
||||
"""Unique id of this sensor."""
|
||||
return "sensor_ecobee_{}_{}".format(self.type, self.index)
|
||||
return "sensor_ecobee_{}_{}".format(self._name, self.index)
|
||||
|
||||
@property
|
||||
def unit_of_measurement(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user