Skip to content
Snippets Groups Projects
Commit 223b7f85 authored by Paulus Schoutsen's avatar Paulus Schoutsen
Browse files

Merge pull request #1225 from nkgilley/ecobee-fix

fix ecobee sensor unique id.
parents 1ba60dc8 ba530e5a
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