本帖最后由 121665460 于 2019-8-7 14:23 编辑
Tue Aug 06 2019 19:59:22 GMT+0800 (中国标准时间) Error doing job: Future exception was never retrievedTraceback (most recent call last): File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/usr/src/homeassistant/homeassistant/components/homekit/__init__.py", line 255, in start self.add_bridge_accessory(state) File "/usr/src/homeassistant/homeassistant/components/homekit/__init__.py", line 238, in add_bridge_accessory acc = get_accessory(self.hass, self.driver, state, aid, conf) File "/usr/src/homeassistant/homeassistant/components/homekit/__init__.py", line 187, in get_accessory return TYPES[a_type](hass, driver, name, state.entity_id, aid, config) File "/usr/src/homeassistant/homeassistant/components/homekit/type_fans.py", line 50, in __init__ self.speed_mapping = HomeKitSpeedMapping(speed_list) File "/usr/src/homeassistant/homeassistant/components/homekit/util.py", line 135, in __init__ if speed_list[0] != fan.SPEED_OFF:TypeError: 'NoneType' object is not subscriptable
有没有大佬帮忙看看
homekit:
auto_start: true #启动 HA 后自动启动 homekit 服务,默认开启
#port: 51827 #运行端口,默认51827
filter: #设备过滤
#include_domains: #指定包含设备类型
#include_entities: #指定包含设备
exclude_domains: #指定排除设备类型
- automation
- xiaomi_cooker
exclude_entities: #指定排除设备
- fan.xiaomi_air_purifier_bedroom
- fan.xiaomi_air_purifier_room
排除xiaomi_air_purifier后正常
|