Use relative imports [S-Z] (#61576)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user