Fix menu in homeassistant_hardware config flow (#102164)

This commit is contained in:
Erik Montnemery 2023-10-17 16:53:52 +02:00 committed by GitHub
parent 7cd376574e
commit 52063537d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -588,9 +588,9 @@ class OptionsFlowHandler(config_entries.OptionsFlow, ABC):
serial_device = (await self._async_serial_port_settings()).device
if addon_info.options.get(CONF_ADDON_DEVICE) != serial_device:
return await self.async_step_addon_installed_other_device()
return await self.async_step_show_addon_menu()
return await self.async_step_addon_menu()
async def async_step_show_addon_menu(
async def async_step_addon_menu(
self, user_input: dict[str, Any] | None = None
) -> FlowResult:
"""Show menu options for the addon."""