fix: 添加缺失的 callback 导入
- 在 config_flow.py 中添加 `from homeassistant.core import callback` - 修复 "Invalid handler specified" 错误
This commit is contained in:
parent
e88ddae6ca
commit
4031747635
@ -6,6 +6,7 @@ from typing import Any
|
|||||||
|
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
from homeassistant import config_entries
|
from homeassistant import config_entries
|
||||||
|
from homeassistant.core import callback
|
||||||
from homeassistant.data_entry_flow import FlowResult
|
from homeassistant.data_entry_flow import FlowResult
|
||||||
from homeassistant.helpers import selector
|
from homeassistant.helpers import selector
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user