|
在HASS上,复制好homeassistant\custom_components\fan\xiaomi_miio_fan.py
configuration.yaml也填写好了,但是重启HASS后,日志提示:
Log Details (ERROR)Sat Jul 07 2018 11:11:19 GMT+0800 (中国标准时间)
Error during setup of component fanTraceback (most recent call last): File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 146, in _async_setup_component component.setup, hass, processed_config) # type: ignoreAttributeError: module 'custom_components.fan' has no attribute 'setup'
HASS一直不出现小米落地扇,应该怎么处理啊??谢谢各位
|
|