Implement suggested area for netatmo (#46802)
parent
3e334a4950
commit
2807cb1de7
|
@ -567,6 +567,11 @@ class NetatmoThermostat(NetatmoBase, ClimateEntity):
|
|||
schedule_id,
|
||||
)
|
||||
|
||||
@property
|
||||
def device_info(self):
|
||||
"""Return the device info for the thermostat."""
|
||||
return {**super().device_info, "suggested_area": self._room_data["name"]}
|
||||
|
||||
|
||||
def interpolate(batterylevel, module_type):
|
||||
"""Interpolate battery level depending on device type."""
|
||||
|
|
Loading…
Reference in New Issue