mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Bump unifiprotect to 4.10.5 (#96486)
This commit is contained in:
parent
da9624de2f
commit
1865cd0805
@ -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)
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user