|
发表于 2024-5-22 18:56:44
|
显示全部楼层
报错 怎么搞?
日志: homeassistant.components.device_tracker
来源: helpers/entity_platform.py:356
集成: 设备跟踪器 (文档, 问题)
首次发生: 18:49:17 (1 全部发生)
上次记录: 18:49:17
Error while setting up xiaomi_cloud platform for device_tracker
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 356, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/xiaomi_cloud/device_tracker.py", line 35, in async_setup_entry
for i in range(len(coordinator.data)):
^^^^^^^^^^^^^^^^^^^^^
TypeError: object of type 'bool' has no len() |
|