From 0f0508cd98ad6512014db47bb0a30e669ffb2935 Mon Sep 17 00:00:00 2001 From: Ronnie Roller Date: Tue, 25 May 2021 13:09:14 -0700 Subject: [PATCH] Remove defaults --- custom_components/dahua/config_flow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/dahua/config_flow.py b/custom_components/dahua/config_flow.py index 4309645..a926906 100644 --- a/custom_components/dahua/config_flow.py +++ b/custom_components/dahua/config_flow.py @@ -118,9 +118,9 @@ async def _show_config_form(self, user_input): # pylint: disable=unused-argumen step_id="user", data_schema=vol.Schema( { - vol.Required(CONF_USERNAME, default="admin"): str, + vol.Required(CONF_USERNAME): str, vol.Required(CONF_PASSWORD): str, - vol.Required(CONF_ADDRESS, default="192.168.1.213"): str, + vol.Required(CONF_ADDRESS): str, vol.Required(CONF_PORT, default="80"): str, vol.Required(CONF_RTSP_PORT, default="544"): str, vol.Required(CONF_STREAMS, default=STREAMS[0]): vol.In(STREAMS),