From 4031747635cab2c5dcaf5b6b0019eb973272c96b Mon Sep 17 00:00:00 2001 From: impressionyang Date: Thu, 16 Apr 2026 09:55:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0=E7=BC=BA=E5=A4=B1?= =?UTF-8?q?=E7=9A=84=20callback=20=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 config_flow.py 中添加 `from homeassistant.core import callback` - 修复 "Invalid handler specified" 错误 --- custom_components/sigmesh_gateway/config_flow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/sigmesh_gateway/config_flow.py b/custom_components/sigmesh_gateway/config_flow.py index 1b4e78b..f1d5262 100644 --- a/custom_components/sigmesh_gateway/config_flow.py +++ b/custom_components/sigmesh_gateway/config_flow.py @@ -6,6 +6,7 @@ from typing import Any import voluptuous as vol from homeassistant import config_entries +from homeassistant.core import callback from homeassistant.data_entry_flow import FlowResult from homeassistant.helpers import selector