diff --git a/custom_components/bluesound_alt/config_flow.py b/custom_components/bluesound_alt/config_flow.py index a1da852..39c6977 100644 --- a/custom_components/bluesound_alt/config_flow.py +++ b/custom_components/bluesound_alt/config_flow.py @@ -87,8 +87,8 @@ async def async_step_user(self, user_input=None): info = await validate_input(self.hass, user_input) data = { - CONF_NAME: data[CONF_HOST], - CONF_HOST: data[CONF_NAME], + CONF_NAME: user_input[CONF_HOST], + CONF_HOST: user_input[CONF_NAME], CONF_PORT: DEFAULT_PORT, }