-
Notifications
You must be signed in to change notification settings - Fork 865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: 安装报错(无法加载配置向导: {"message":"Invalid handler specified"}) #28
Labels
bug
Something isn't working
Comments
升级最新稳定版HA后解决。 |
同样的问题,docker版本的ha,core版本2023.11.3 |
@KyoMio docker 的ha升级到2024.12即可 |
我装的就是最新的 2024.12.3,不行唉,环境python3.13 |
不过我不是docker版本,我直接pip 装的hass,大概率是这个问题 #27 |
感谢,已更新,能正常使用了。 |
|
same here, same python3.13 core 2024.12.5 |
已切换asyncio,麻烦使用v0.1.5b1验证下。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug / 描述问题
无法加载配置向导: {"message":"Invalid handler specified"}
To Reproduce / 复现步骤
已按步骤运行添加到hass,开始配置出现错误
Expected behavior / 预期结果
安装成功
Home Assistant Logs / 系统日志
日志记录器: homeassistant.loader
来源: loader.py:1271
首次出现: 00:07:44 (8 次总计出现)
上次记录: 00:21:22
Unexpected exception importing platform custom_components.xiaomi_home.config_flow
Traceback (most recent call last):
File "/Users/wangningkai/.local/pipx/venvs/homeassistant/lib/python3.13/site-packages/homeassistant/loader.py", line 1271, in _load_platform
cache[full_name] = self._import_platform(platform_name)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/Users/wangningkai/.local/pipx/venvs/homeassistant/lib/python3.13/site-packages/homeassistant/loader.py", line 1303, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/wangningkai/.local/pipx/venvs/homeassistant/lib/python3.13/site-packages/homeassistant/util/loop.py", line 200, in protected_loop_func
return func(*args, **kwargs)
File "/opt/homebrew/Cellar/[email protected]/3.13.1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/importlib/init.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1310, in _find_and_load_unlocked
File "", line 488, in _call_with_frames_removed
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 1026, in exec_module
File "", line 488, in _call_with_frames_removed
File "/Users/wangningkai/.homeassistant/custom_components/xiaomi_home/init.py", line 64, in
from .miot.miot_device import MIoTDevice
File "/Users/wangningkai/.homeassistant/custom_components/xiaomi_home/miot/miot_device.py", line 90, in
from .miot_client import MIoTClient
File "/Users/wangningkai/.homeassistant/custom_components/xiaomi_home/miot/miot_client.py", line 24, in
from .miot_mips import (
MIoTDeviceState, MipsCloudClient, MipsDeviceState,
MipsLocalClient)
File "/Users/wangningkai/.homeassistant/custom_components/xiaomi_home/miot/miot_mips.py", line 301, in
class MipsClient(ABC):
...<679 lines>...
return self._mips_reconnect_interval
File "/Users/wangningkai/.homeassistant/custom_components/xiaomi_home/miot/miot_mips.py", line 333, in MipsClient
_cmd_event_fd: os.eventfd
^^^^^^^^^^
AttributeError: module 'os' has no attribute 'eventfd'
Home Assistant Core version / Home Assistant Core 版本
2024.12.3
Home Assistant Operation System version / Home Assistant Operation System 版本
core版本
Xiaomi Home integration version / 米家集成版本
v0.1.0
Additional context / 其他说明
No response
The text was updated successfully, but these errors were encountered: