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 Franck Nijhof
parent dfe25ff804
commit ace7da2328
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
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

@ -89,10 +89,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

@ -2779,7 +2779,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

@ -2153,7 +2153,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