Skip to content

报错:TypeError: 'bool' object is not iterable #12

@easony1989

Description

@easony1989

Logger: homeassistant.setup
Source: custom_components/lifesmart/init.py:243
First occurred: 下午3:58:17 (1 occurrences)
Last logged: 下午3:58:17

Error during setup of component lifesmart
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 213, 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 243, in setup
for dev in devices:
TypeError: 'bool' object is not iterable

一直运行的好好的,重启完就报错了?啥都没操作👀
求解~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions