Detect Early Access versions of UniFi Protect and Warn User (#81758)
This commit is contained in:
parent
8252d7f3b5
commit
bfd2eb50b2
13 changed files with 368 additions and 59 deletions
|
@ -128,7 +128,7 @@ def mock_entry(
|
|||
"""Mock ProtectApiClient for testing."""
|
||||
|
||||
with _patch_discovery(no_device=True), patch(
|
||||
"homeassistant.components.unifiprotect.ProtectApiClient"
|
||||
"homeassistant.components.unifiprotect.utils.ProtectApiClient"
|
||||
) as mock_api:
|
||||
ufp_config_entry.add_to_hass(hass)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue