mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-09 17:04:29 +02:00
Black #147
This commit is contained in:
parent
161a7fbdb9
commit
fd73bd0610
2 changed files with 4 additions and 10 deletions
|
@ -17,7 +17,7 @@ from homeassistant.const import (
|
|||
CONF_PASSWORD,
|
||||
CONF_SSL,
|
||||
CONF_ZONE,
|
||||
STATE_HOME
|
||||
STATE_HOME,
|
||||
)
|
||||
from homeassistant.core import callback
|
||||
|
||||
|
@ -211,11 +211,8 @@ class MikrotikControllerOptionsFlowHandler(OptionsFlow):
|
|||
): int,
|
||||
vol.Optional(
|
||||
CONF_ZONE,
|
||||
default=self.config_entry.options.get(
|
||||
CONF_ZONE, STATE_HOME
|
||||
),
|
||||
default=self.config_entry.options.get(CONF_ZONE, STATE_HOME),
|
||||
): str,
|
||||
|
||||
}
|
||||
),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue