Detect Early Access versions of UniFi Protect and Warn User (#81758)

This commit is contained in:
Christopher Bailey 2022-11-13 10:34:29 -05:00 committed by GitHub
parent 8252d7f3b5
commit bfd2eb50b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 368 additions and 59 deletions

View file

@ -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)