Make Sensibo climate registry_entity compliant (#13086)

pull/12733/merge
Andrey 2018-03-11 18:19:25 +02:00 committed by Daniel Høyer Iversen
parent dc8424032b
commit 3dfc49d311
1 changed files with 5 additions and 0 deletions

View File

@ -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."""