|
发表于 2021-4-11 18:47:22
|
显示全部楼层
大大,我之前已经设置成功,但我重新安装hass后就不行了,日志提示Logger: homeassistant.setup
Source: custom_components/lifesmart/__init__.py:231
First occurred: 下午6:43:42 (1 occurrences)
Last logged: 下午6:43:42
Error during setup of component lifesmart
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 241, in _async_setup_component
result = await task
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/lifesmart/__init__.py", line 231, in setup
for dev in devices:
TypeError: 'bool' object is not iterable
请问是什么问题。
?
|
|