Make Sensibo climate registry_entity compliant (#13086)

This commit is contained in:
Andrey authored and Daniel Høyer Iversen committed 2018-03-11 17:19:25 +01:00
1 parent dc8424032b
commit 3dfc49d311
1 file changed
+5
@@ -248,6 +248,11 @@ class SensiboClimate(ClimateDevice):
return self._temperatures_list[-1] \
if self._temperatures_list else super().max_temp
@property
def unique_id(self):
"""Return unique ID based on Sensibo ID."""
return self._id
@asyncio.coroutine
def async_set_temperature(self, **kwargs):
"""Set new target temperature."""