Skip to content

Commit

Permalink
Update config_flow.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aunefyren committed Feb 4, 2024
1 parent 2f817d3 commit 4d426f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/bluesound_alt/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ async def validate_input(hass: HomeAssistant, data: dict) -> dict[str, Any]:
"""

hosts = CONF_HOSTS
hosts[0].CONF_HOST = data[CONF_HOST]
hosts[0].CONF_NAME = data[CONF_NAME]
hosts[0].CONF_PORT = CONF_PORT[DEFAULT_PORT]
hosts[0][CONF_HOST] = data[CONF_HOST]
hosts[0][CONF_NAME] = data[CONF_NAME]
hosts[0][CONF_PORT] = CONF_PORT[DEFAULT_PORT]

result = await async_setup_platform(HomeAssistant, hosts, True, None)
if result is not True:
Expand Down

0 comments on commit 4d426f8

Please sign in to comment.