cnk700i / havcs

Home Assistant Voice Control Skill
https://ljr.im/articles/plugins-havcs-edible-instructions/
Apache License 2.0
311 stars 97 forks source link

不支持新版的 HA,0.97.1及后续版本 #11

Closed axelburks closed 5 years ago

axelburks commented 5 years ago

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'

cnk700i commented 5 years ago

更新下看看,我在0.97.2简单测试了下没问题,还有问题加q群反馈吧,这里很少看。。