mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Add suggested area to nexia (#46776)
This commit is contained in:
parent
2807cb1de7
commit
11277faa93
@ -83,10 +83,12 @@ class NexiaThermostatZoneEntity(NexiaThermostatEntity):
|
||||
def device_info(self):
|
||||
"""Return the device_info of the device."""
|
||||
data = super().device_info
|
||||
zone_name = self._zone.get_name()
|
||||
data.update(
|
||||
{
|
||||
"identifiers": {(DOMAIN, self._zone.zone_id)},
|
||||
"name": self._zone.get_name(),
|
||||
"name": zone_name,
|
||||
"suggested_area": zone_name,
|
||||
"via_device": (DOMAIN, self._zone.thermostat.thermostat_id),
|
||||
}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user