日志:
2019-08-14 22:29:39 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/Users/suisr/.homeassistant/custom_components/aihome/init.py", line 341, in async_report_device
if not entity.attributes.get('aihome_device', False):
AttributeError: 'NoneType' object has no attribute 'attributes'
0.97.0 之前正常,升级到 0.97.0 后未关注到此问题,0.97.1 时才发现不再出现那个成功启动的提示,使用音箱也无法控制设备,升级到 0.97.2 后问题依旧
配置: aihome: platform:
switch.tv_power: friendly_name: 电视 icon: mdi:television aihome_device: True dueros_deviceType: 'SWITCH' dueros_actions: ['turnOn', 'turnOff']
日志: 2019-08-14 22:29:39 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/Users/suisr/.homeassistant/custom_components/aihome/init.py", line 341, in async_report_device if not entity.attributes.get('aihome_device', False): AttributeError: 'NoneType' object has no attribute 'attributes'