Bump uiprotect to 1.4.1 (#119653)
This commit is contained in:
parent
efa7240ac5
commit
b11d832fb1
4 changed files with 5 additions and 7 deletions
|
@ -40,7 +40,7 @@
|
|||
"integration_type": "hub",
|
||||
"iot_class": "local_push",
|
||||
"loggers": ["uiprotect", "unifi_discovery"],
|
||||
"requirements": ["uiprotect==1.2.1", "unifi-discovery==1.1.8"],
|
||||
"requirements": ["uiprotect==1.4.1", "unifi-discovery==1.1.8"],
|
||||
"ssdp": [
|
||||
{
|
||||
"manufacturer": "Ubiquiti Networks",
|
||||
|
|
|
@ -92,10 +92,8 @@ def async_get_devices_by_type(
|
|||
bootstrap: Bootstrap, device_type: ModelType
|
||||
) -> dict[str, ProtectAdoptableDeviceModel]:
|
||||
"""Get devices by type."""
|
||||
|
||||
devices: dict[str, ProtectAdoptableDeviceModel] = getattr(
|
||||
bootstrap, f"{device_type.value}s"
|
||||
)
|
||||
devices: dict[str, ProtectAdoptableDeviceModel]
|
||||
devices = getattr(bootstrap, device_type.devices_key)
|
||||
return devices
|
||||
|
||||
|
||||
|
|
|
@ -2788,7 +2788,7 @@ twitchAPI==4.0.0
|
|||
uasiren==0.0.1
|
||||
|
||||
# homeassistant.components.unifiprotect
|
||||
uiprotect==1.2.1
|
||||
uiprotect==1.4.1
|
||||
|
||||
# homeassistant.components.landisgyr_heat_meter
|
||||
ultraheat-api==0.5.7
|
||||
|
|
|
@ -2168,7 +2168,7 @@ twitchAPI==4.0.0
|
|||
uasiren==0.0.1
|
||||
|
||||
# homeassistant.components.unifiprotect
|
||||
uiprotect==1.2.1
|
||||
uiprotect==1.4.1
|
||||
|
||||
# homeassistant.components.landisgyr_heat_meter
|
||||
ultraheat-api==0.5.7
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue