|
本帖最后由 hiofjb 于 2022-3-10 08:18 编辑
各位大佬,小弟这边尝试修改了一下homekit组件的源代码,然后把项目拷贝到了config/custom_components/路径下并且在configuration.yaml中添加了homekit:
但是重启HA服务后,发现了报错日志:Error occurred loading configuration flow for integration homekit: cannot import name 'ATTR_HW_VERSION' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)
请问各位该如何是好?
[backcolor=var(--mdc-theme-surface, #fff)][color=var(--mdc-dialog-content-ink-color, rgba(0, 0, 0, 0.6))]Error occurred loading configuration flow for integration homekit: cannot import name 'ATTR_HW_VERSION' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)
|
|