mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Implement suggested area for netatmo (#46802)
This commit is contained in:
parent
3e334a4950
commit
2807cb1de7
@ -567,6 +567,11 @@ class NetatmoThermostat(NetatmoBase, ClimateEntity):
|
|||||||
schedule_id,
|
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):
|
def interpolate(batterylevel, module_type):
|
||||||
"""Interpolate battery level depending on device type."""
|
"""Interpolate battery level depending on device type."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user