|
发表于 2020-5-28 21:15:38
|
显示全部楼层
mi_ac_partner: Error on device update!
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 248, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
await self.async_update()
File "/config/custom_components/mi_ac_partner/media_player.py", line 115, in async_update
await self.async_station_list_total()
File "/config/custom_components/mi_ac_partner/media_player.py", line 229, in async_station_list_total
if (eval(response))['data']['totalSize'] > 0:
File "<string>", line 1, in <module>
NameError: name 'true' is not defined
这是什么情况呀 |
|