- 积分
- 907
- 金钱
- 823
- 威望
- 0
- 贡献
- 0
- HASS币
- 10
高级会员
- 积分
- 907
- 金钱
- 823
- HASS币
- 10
|
发表于 2021-3-4 01:11:37
|
显示全部楼层
大神你好,我在添加zhimi到customcomponents之后,有下面的报错,也不能看见文本输入框
求指导啊
Error during setup of component zhimsg
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 190, in _async_setup_component
result = await asyncio.wait_for(task, SLOW_SETUP_MAX_WAIT)
File "/usr/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/home/homeassistant/.homeassistant/custom_components/zhimsg/__init__.py", line 65, in async_setup
await async_add_input_entities(hass, config, entities)
File "/home/homeassistant/.homeassistant/custom_components/zhimsg/__init__.py", line 117, in async_add_input_entities
return await _async_add_input_entities(hass, entities)
File "/home/homeassistant/.homeassistant/custom_components/zhimsg/__init__.py", line 132, in _async_add_input_entities
hass.helpers.event.async_track_state_change_event([entity.entity_id for entity in entities], async_input_changed)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/loader.py", line 437, in __getattr__
value = getattr(self._module, attr)
AttributeError: module 'homeassistant.helpers.event' has no attribute 'async_track_state_change_event' |
评分
-
查看全部评分
|