- 积分
- 766
- 金钱
- 688
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 766
- 金钱
- 688
- HASS币
- 0
|
发表于 2021-1-24 01:43:43
|
显示全部楼层
添加小米电饭锅后无实体,日志如下:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 199, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/xiaomi_miot/sensor.py", line 38, in async_setup_entry
await async_setup_platform(hass, config, async_add_entities)
File "/config/custom_components/xiaomi_miot/sensor.py", line 65, in async_setup_platform
entities.append(MiotSensorEntity(cfg, srv))
File "/config/custom_components/xiaomi_miot/sensor.py", line 85, in __init__
mapping.update(miot_service.mapping())
AttributeError: 'NoneType' object has no attribute 'update'
型号chunmi.cooker.eh402
token和ip地址均确认正确 |
|