parent
f7c9d20472
commit
990fd31e84
|
@ -5,7 +5,7 @@ import asyncio
|
|||
from datetime import datetime, timedelta
|
||||
import ssl
|
||||
from types import MappingProxyType
|
||||
from typing import Any
|
||||
from typing import Any, Literal
|
||||
|
||||
from aiohttp import CookieJar
|
||||
import aiounifi
|
||||
|
@ -458,7 +458,7 @@ async def get_unifi_controller(
|
|||
config: MappingProxyType[str, Any],
|
||||
) -> aiounifi.Controller:
|
||||
"""Create a controller object and verify authentication."""
|
||||
ssl_context: ssl.SSLContext | bool = False
|
||||
ssl_context: ssl.SSLContext | Literal[False] = False
|
||||
|
||||
if verify_ssl := config.get(CONF_VERIFY_SSL):
|
||||
session = aiohttp_client.async_get_clientsession(hass)
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"iot_class": "local_push",
|
||||
"loggers": ["aiounifi"],
|
||||
"quality_scale": "platinum",
|
||||
"requirements": ["aiounifi==66"],
|
||||
"requirements": ["aiounifi==67"],
|
||||
"ssdp": [
|
||||
{
|
||||
"manufacturer": "Ubiquiti Networks",
|
||||
|
|
|
@ -374,7 +374,7 @@ aiosyncthing==0.5.1
|
|||
aiotractive==0.5.6
|
||||
|
||||
# homeassistant.components.unifi
|
||||
aiounifi==66
|
||||
aiounifi==67
|
||||
|
||||
# homeassistant.components.vlc_telnet
|
||||
aiovlc==0.1.0
|
||||
|
|
|
@ -347,7 +347,7 @@ aiosyncthing==0.5.1
|
|||
aiotractive==0.5.6
|
||||
|
||||
# homeassistant.components.unifi
|
||||
aiounifi==66
|
||||
aiounifi==67
|
||||
|
||||
# homeassistant.components.vlc_telnet
|
||||
aiovlc==0.1.0
|
||||
|
|
Loading…
Reference in New Issue