UniFi simplify update (#24304)
This commit is contained in:
1 parent
aa8ddeca34
commit
e9b0f54a43
7 files changed
+90
-134
No files matched your search
@@ -5,8 +5,7 @@ from homeassistant import config_entries
|
||||
from homeassistant.const import (
|
||||
CONF_HOST, CONF_PASSWORD, CONF_PORT, CONF_USERNAME, CONF_VERIFY_SSL)
|
||||
|
||||
from .const import (CONF_CONTROLLER, CONF_POE_CONTROL, CONF_SITE_ID,
|
||||
DOMAIN, LOGGER)
|
||||
from .const import CONF_CONTROLLER, CONF_SITE_ID, DOMAIN, LOGGER
|
||||
from .controller import get_controller
|
||||
from .errors import (
|
||||
AlreadyConfigured, AuthenticationRequired, CannotConnect, UserLevel)
|
||||
@@ -99,8 +98,7 @@ class UnifiFlowHandler(config_entries.ConfigFlow):
|
||||
raise AlreadyConfigured
|
||||
|
||||
data = {
|
||||
CONF_CONTROLLER: self.config,
|
||||
CONF_POE_CONTROL: True
|
||||
CONF_CONTROLLER: self.config
|
||||
}
|
||||
|
||||
return self.async_create_entry(
|
||||
|
||||
Reference in new issue
Block a user