Implemented kid-control #70

This commit is contained in:
tomaae 2020-12-25 18:42:57 +01:00
parent 7379199d40
commit 9b4a9f8252
3 changed files with 116 additions and 10 deletions

View file

@ -261,12 +261,12 @@ class MikrotikControllerOptionsFlowHandler(OptionsFlow):
CONF_SENSOR_MANGLE, DEFAULT_SENSOR_MANGLE
),
): bool,
# vol.Optional(
# CONF_SENSOR_KIDCONTROL,
# default=self.config_entry.options.get(
# CONF_SENSOR_KIDCONTROL, DEFAULT_SENSOR_KIDCONTROL
# ),
# ): bool,
vol.Optional(
CONF_SENSOR_KIDCONTROL,
default=self.config_entry.options.get(
CONF_SENSOR_KIDCONTROL, DEFAULT_SENSOR_KIDCONTROL
),
): bool,
vol.Optional(
CONF_SENSOR_PPP,
default=self.config_entry.options.get(