This commit is contained in:
Tomaae 2022-01-02 14:40:12 +01:00
parent 161a7fbdb9
commit fd73bd0610
2 changed files with 4 additions and 10 deletions

View file

@ -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,
}
),
)