Skip to content
Snippets Groups Projects
Commit ba530e5a authored by nkgilley@gmail.com's avatar nkgilley@gmail.com
Browse files

fix ecobee sensor unique id.

parent 1ba60dc8
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment