Update devolo-home-control-api to 0.15.0 (#40764)
parent
4cce724473
commit
d6df1527f1
|
@ -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,
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue