|
发表于 2017-8-21 23:32:29
|
显示全部楼层
本帖最后由 新新人类 于 2017-8-21 23:33 编辑
请教下
climate:
- platform: midea
name: Midea
host: 192.168.1.105
mac: '34:ea:34:e7:f2:5a'
target_sensor: sensor.rmpro_temperature
target_temp: 27
这个添加到ha就出现错误日记,如下,不添加就正常,连日记都没有,你的插件也有安装了
不知道哪里出错了
错误日记
2017-08-21 23:24:26 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
result = coro.throw(exc)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/setup.py", line 61, in async_setup_component
return (yield from task)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
result = next(coro)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/setup.py", line 160, in _async_setup_component
conf_util.async_process_component_config(hass, config, domain)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/config.py", line 593, in async_process_component_config
platform = get_platform(domain, p_name)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/loader.py", line 104, in get_platform
return get_component(PLATFORM_FORMAT.format(domain, platform))
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/loader.py", line 142, in get_component
module = importlib.import_module(path)
File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1467, in exec_module
File "<frozen importlib._bootstrap>", line 1571, in get_code
File "<frozen importlib._bootstrap>", line 1623, in get_data
PermissionError: [Errno 13] Permission denied: '/home/homeassistant/.homeassistant/custom_components/climate/midea.py'
|
|