parent
e71eb8dfe2
commit
ea8511bcfc
10 changed files with 30 additions and 4 deletions
|
@ -236,7 +236,16 @@ class OptionsFlowHandler(BaseMultiPanFlow, config_entries.OptionsFlow):
|
|||
if not is_hassio(self.hass):
|
||||
return self.async_abort(reason="not_hassio")
|
||||
|
||||
return await self.async_step_on_supervisor()
|
||||
return self.async_abort(
|
||||
reason="disabled_due_to_bug",
|
||||
description_placeholders={
|
||||
"url": "https://developers.home-assistant.io/blog/2022/12/08/multi-pan-rollback"
|
||||
},
|
||||
)
|
||||
|
||||
# pylint: disable=unreachable
|
||||
|
||||
return await self.async_step_on_supervisor() # type: ignore[unreachable]
|
||||
|
||||
async def async_step_on_supervisor(
|
||||
self, user_input: dict[str, Any] | None = None
|
||||
|
|
|
@ -32,7 +32,8 @@
|
|||
"addon_set_config_failed": "Failed to set Silicon Labs Multiprotocol configuration.",
|
||||
"addon_start_failed": "Failed to start the Silicon Labs Multiprotocol add-on.",
|
||||
"not_hassio": "The hardware options can only be configured on HassOS installations.",
|
||||
"zha_migration_failed": "The ZHA migration did not succeed."
|
||||
"zha_migration_failed": "The ZHA migration did not succeed.",
|
||||
"disabled_due_to_bug": "The hardware options are temporarily disabled while we fix a bug. [Learn more]({url})"
|
||||
},
|
||||
"progress": {
|
||||
"install_addon": "Please wait while the Silicon Labs Multiprotocol add-on installation finishes. This can take several minutes.",
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
"addon_install_failed": "Failed to install the Silicon Labs Multiprotocol add-on.",
|
||||
"addon_set_config_failed": "Failed to set Silicon Labs Multiprotocol configuration.",
|
||||
"addon_start_failed": "Failed to start the Silicon Labs Multiprotocol add-on.",
|
||||
"disabled_due_to_bug": "The hardware options are temporarily disabled while we fix a bug. [Learn more]({url})",
|
||||
"not_hassio": "The hardware options can only be configured on HassOS installations.",
|
||||
"zha_migration_failed": "The ZHA migration did not succeed."
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue