mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Make Sensibo climate registry_entity compliant (#13086)
This commit is contained in:
parent
dc8424032b
commit
3dfc49d311
@ -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."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user