mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
Merge pull request #1225 from nkgilley/ecobee-fix
fix ecobee sensor unique id.
This commit is contained in:
commit
223b7f85ee
@ -66,7 +66,7 @@ class EcobeeSensor(Entity):
|
|||||||
@property
|
@property
|
||||||
def unique_id(self):
|
def unique_id(self):
|
||||||
"""Unique id of this sensor."""
|
"""Unique id of this sensor."""
|
||||||
return "sensor_ecobee_{}_{}".format(self.type, self.index)
|
return "sensor_ecobee_{}_{}".format(self._name, self.index)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def unit_of_measurement(self):
|
def unit_of_measurement(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user