From 10829fdadb98c31d7f9364ddee952935fd512563 Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Sun, 15 Jan 2023 04:20:25 -0800 Subject: [PATCH] Allow empty motionEye passwords (#85407) --- homeassistant/components/motioneye/config_flow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, } ),