mirror of
https://github.com/home-assistant/core.git
synced 2025-08-11 00:25:12 +02:00
Implement suggested area for netatmo (#46802)
This commit is contained in:
@@ -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."""
|
||||||
|
Reference in New Issue
Block a user