Update devolo-home-control-api to 0.15.0 (#40764)

pull/40789/head
Guido Schmitz 2020-09-30 12:58:19 +02:00 committed by GitHub
parent 4cce724473
commit d6df1527f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 8 deletions

View File

@ -17,7 +17,7 @@ class DevoloDeviceEntity(Entity):
self._device_instance = device_instance
self._unique_id = element_uid
self._homecontrol = homecontrol
self._name = device_instance.item_name
self._name = device_instance.settings_property["general_device_settings"].name
self._device_class = None
self._value = None
self._unit = None
@ -34,9 +34,7 @@ class DevoloDeviceEntity(Entity):
async def async_added_to_hass(self) -> None:
"""Call when entity is added to hass."""
self.subscriber = Subscriber(
self._device_instance.item_name, callback=self.sync_callback
)
self.subscriber = Subscriber(self._name, callback=self.sync_callback)
self._homecontrol.publisher.register(
self._device_instance.uid, self.subscriber, self.sync_callback
)
@ -57,7 +55,7 @@ class DevoloDeviceEntity(Entity):
"""Return the device info."""
return {
"identifiers": {(DOMAIN, self._device_instance.uid)},
"name": self._device_instance.item_name,
"name": self._name,
"manufacturer": self._brand,
"model": self._model,
}

View File

@ -2,7 +2,7 @@
"domain": "devolo_home_control",
"name": "devolo Home Control",
"documentation": "https://www.home-assistant.io/integrations/devolo_home_control",
"requirements": ["devolo-home-control-api==0.13.0"],
"requirements": ["devolo-home-control-api==0.15.0"],
"config_flow": true,
"codeowners": ["@2Fake", "@Shutgun"],
"quality_scale": "silver"

View File

@ -484,7 +484,7 @@ deluge-client==1.7.1
denonavr==0.9.4
# homeassistant.components.devolo_home_control
devolo-home-control-api==0.13.0
devolo-home-control-api==0.15.0
# homeassistant.components.directv
directv==0.3.0

View File

@ -254,7 +254,7 @@ defusedxml==0.6.0
denonavr==0.9.4
# homeassistant.components.devolo_home_control
devolo-home-control-api==0.13.0
devolo-home-control-api==0.15.0
# homeassistant.components.directv
directv==0.3.0