diff --git a/homeassistant/components/motioneye/config_flow.py b/homeassistant/components/motioneye/config_flow.py index 662c4d23660..4ab4761fe0b 100644 --- a/homeassistant/components/motioneye/config_flow.py +++ b/homeassistant/components/motioneye/config_flow.py @@ -72,7 +72,7 @@ class MotionEyeConfigFlow(ConfigFlow, domain=DOMAIN): ): str, vol.Optional( CONF_ADMIN_PASSWORD, - default=user_input.get(CONF_ADMIN_PASSWORD), + default=user_input.get(CONF_ADMIN_PASSWORD, ""), ): str, vol.Optional( CONF_SURVEILLANCE_USERNAME, @@ -80,7 +80,7 @@ class MotionEyeConfigFlow(ConfigFlow, domain=DOMAIN): ): str, vol.Optional( CONF_SURVEILLANCE_PASSWORD, - default=user_input.get(CONF_SURVEILLANCE_PASSWORD), + default=user_input.get(CONF_SURVEILLANCE_PASSWORD, ""), ): str, } ),