Use relative imports [S-Z] (#61576)

This commit is contained in:
Michael
2021-12-13 09:39:13 +01:00
committed by GitHub
parent 8f11bcf4cc
commit 90e52cd3ad
25 changed files with 57 additions and 71 deletions

View File

@@ -26,7 +26,6 @@ from aiounifi.events import (
from aiounifi.websocket import STATE_DISCONNECTED, STATE_RUNNING
import async_timeout
from homeassistant.components.unifi.switch import BLOCK_SWITCH, POE_SWITCH
from homeassistant.const import (
CONF_HOST,
CONF_PASSWORD,
@@ -70,6 +69,7 @@ from .const import (
UNIFI_WIRELESS_CLIENTS,
)
from .errors import AuthenticationRequired, CannotConnect
from .switch import BLOCK_SWITCH, POE_SWITCH
RETRY_TIMER = 15
CHECK_HEARTBEAT_INTERVAL = timedelta(seconds=1)