Bump unifiprotect to 4.10.5 (#96486)

This commit is contained in:
Christopher Bailey 2023-07-13 15:30:55 -04:00 committed by GitHub
parent da9624de2f
commit 1865cd0805
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 7 deletions

View File

@ -115,7 +115,7 @@ async def async_setup_entry(
async def _add_new_device(device: ProtectAdoptableDeviceModel) -> None:
if not isinstance(device, UFPCamera):
return
return # type: ignore[unreachable]
entities = _async_camera_entities(data, ufp_device=device)
async_add_entities(entities)

View File

@ -227,7 +227,7 @@ class ProtectData:
self._async_update_device(obj, message.changed_data)
# trigger updates for camera that the event references
elif isinstance(obj, Event):
elif isinstance(obj, Event): # type: ignore[unreachable]
if obj.type in SMART_EVENTS:
if obj.camera is not None:
if obj.end is None:

View File

@ -272,7 +272,7 @@ class ProtectNVREntity(ProtectDeviceEntity):
"""Base class for unifi protect entities."""
# separate subclass on purpose
device: NVR # type: ignore[assignment]
device: NVR
def __init__(
self,
@ -281,7 +281,7 @@ class ProtectNVREntity(ProtectDeviceEntity):
description: EntityDescription | None = None,
) -> None:
"""Initialize the entity."""
super().__init__(entry, device, description) # type: ignore[arg-type]
super().__init__(entry, device, description)
@callback
def _async_set_device_info(self) -> None:

View File

@ -41,7 +41,7 @@
"iot_class": "local_push",
"loggers": ["pyunifiprotect", "unifi_discovery"],
"quality_scale": "platinum",
"requirements": ["pyunifiprotect==4.10.3", "unifi-discovery==1.1.7"],
"requirements": ["pyunifiprotect==4.10.5", "unifi-discovery==1.1.7"],
"ssdp": [
{
"manufacturer": "Ubiquiti Networks",

View File

@ -2186,7 +2186,7 @@ pytrafikverket==0.3.3
pyudev==0.23.2
# homeassistant.components.unifiprotect
pyunifiprotect==4.10.3
pyunifiprotect==4.10.5
# homeassistant.components.uptimerobot
pyuptimerobot==22.2.0

View File

@ -1603,7 +1603,7 @@ pytrafikverket==0.3.3
pyudev==0.23.2
# homeassistant.components.unifiprotect
pyunifiprotect==4.10.3
pyunifiprotect==4.10.5
# homeassistant.components.uptimerobot
pyuptimerobot==22.2.0