Skip to content

Commit

Permalink
Add suggested_area support to devolo Home Control (home-assistant#47063)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shutgun authored Feb 26, 2021
1 parent 9c67f83 commit 71cf982
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions homeassistant/components/devolo_home_control/devolo_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def __init__(self, homecontrol, device_instance, element_uid):
self._unique_id = element_uid
self._homecontrol = homecontrol
self._name = device_instance.settings_property["general_device_settings"].name
self._area = device_instance.settings_property["general_device_settings"].zone
self._device_class = None
self._value = None
self._unit = None
Expand Down Expand Up @@ -59,6 +60,7 @@ def device_info(self):
"name": self._name,
"manufacturer": self._brand,
"model": self._model,
"suggested_area": self._area,
}

@property
Expand Down

0 comments on commit 71cf982

Please sign in to comment.