Bumps version of pyunifiprotect to 4.0.4 (#73722)
This commit is contained in:
parent
109d1844b3
commit
3851c7b4b4
21 changed files with 770 additions and 155 deletions
|
@ -7,7 +7,7 @@ from unittest.mock import AsyncMock, patch
|
|||
|
||||
import aiohttp
|
||||
from pyunifiprotect import NotAuthorized, NvrError
|
||||
from pyunifiprotect.data import NVR, Light
|
||||
from pyunifiprotect.data import NVR, Bootstrap, Light
|
||||
|
||||
from homeassistant.components.unifiprotect.const import CONF_DISABLE_RTSP, DOMAIN
|
||||
from homeassistant.config_entries import ConfigEntry, ConfigEntryState
|
||||
|
@ -16,7 +16,7 @@ from homeassistant.helpers import device_registry as dr, entity_registry as er
|
|||
from homeassistant.setup import async_setup_component
|
||||
|
||||
from . import _patch_discovery
|
||||
from .conftest import MockBootstrap, MockEntityFixture, regenerate_device_ids
|
||||
from .conftest import MockEntityFixture, regenerate_device_ids
|
||||
|
||||
from tests.common import MockConfigEntry
|
||||
|
||||
|
@ -52,7 +52,7 @@ async def test_setup_multiple(
|
|||
hass: HomeAssistant,
|
||||
mock_entry: MockEntityFixture,
|
||||
mock_client,
|
||||
mock_bootstrap: MockBootstrap,
|
||||
mock_bootstrap: Bootstrap,
|
||||
):
|
||||
"""Test working setup of unifiprotect entry."""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue