From a98f493909fa8362e507781481618a3c629029fe Mon Sep 17 00:00:00 2001 From: xiaochao Date: Tue, 13 Jan 2026 17:08:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=BE=E7=BD=AE=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom_components/fn_nas/config_flow.py | 5 +---- custom_components/fn_nas/manifest.json | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/custom_components/fn_nas/config_flow.py b/custom_components/fn_nas/config_flow.py index 8b4f083..7b1b156 100644 --- a/custom_components/fn_nas/config_flow.py +++ b/custom_components/fn_nas/config_flow.py @@ -189,14 +189,11 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): @staticmethod @callback def async_get_options_flow(config_entry): - return OptionsFlowHandler(config_entry) + return OptionsFlowHandler() class OptionsFlowHandler(config_entries.OptionsFlow): """处理飞牛NAS的选项流程""" - def __init__(self, config_entry): - self.config_entry = config_entry - async def async_step_init(self, user_input=None): if user_input is not None: return self.async_create_entry(title="", data=user_input) diff --git a/custom_components/fn_nas/manifest.json b/custom_components/fn_nas/manifest.json index 8dbfa4e..c961a96 100644 --- a/custom_components/fn_nas/manifest.json +++ b/custom_components/fn_nas/manifest.json @@ -1,7 +1,7 @@ { "domain": "fn_nas", "name": "飞牛NAS", - "version": "1.4.2", + "version": "1.4.3", "documentation": "https://github.com/xiaochao99/fn_nas", "dependencies": [], "codeowners": ["@xiaochao99"],