Bump uiprotect to 1.4.1 (#119653)

This commit is contained in:
J. Nick Koston 2024-06-13 21:01:25 -05:00 committed by GitHub
parent efa7240ac5
commit b11d832fb1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 7 deletions

View file

@ -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",

View file

@ -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

View file

@ -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

View file

@ -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