- 积分
- 466
- 金钱
- 381
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 466
- 金钱
- 381
- HASS币
- 0
|
发表于 2019-1-17 09:17:06
|
显示全部楼层
大神,重启了还是不行,可以帮我看看不
ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 56, in async_setup_component
return await task # type: ignore
File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 118, in _async_setup_component
conf_util.async_process_component_config(hass, config, domain)
File "/usr/local/lib/python3.6/site-packages/homeassistant/config.py", line 764, in async_process_component_config
platform = get_platform(hass, domain, p_name)
File "/usr/local/lib/python3.6/site-packages/homeassistant/loader.py", line 60, in get_platform
return get_component(hass, PLATFORM_FORMAT.format(domain, platform))
File "/usr/local/lib/python3.6/site-packages/homeassistant/loader.py", line 92, in get_component
module = importlib.import_module(path)
File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 674, in exec_module
File "<frozen importlib._bootstrap_external>", line 781, in get_code
File "<frozen importlib._bootstrap_external>", line 741, in source_to_code
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/config/custom_components/switch/phicomm_dc1.py", line 339
continue
^
SyntaxError: invalid syntax
2019-01-17 01:13:17 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template 褰撳墠鐢靛帇, the state is unknown.
2019-01-17 01:13:17 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template 褰撳墠鍔熺巼, the state is unknown.
2019-01-17 01:13:17 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template 褰撳墠鍔熺巼, the state is unknown.
2019-01-17 01:13:17 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template 褰撳墠鐢靛帇, the state is unknown.
2019-01-17 01:14:06 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 406, in start
resp = await task
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_app.py", line 435, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 120, in impl
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/static.py", line 66, in staticresource_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 67, in ban_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/auth.py", line 99, in auth_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/view.py", line 118, in handle
result = await result
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/config/core.py", line 21, in post
errors = await async_check_ha_config_file(request.app['hass'])
File "/usr/local/lib/python3.6/site-packages/homeassistant/config.py", line 800, in async_check_ha_config_file
check_ha_config_file, hass)
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/homeassistant/scripts/check_config.py", line 367, in check_ha_config_file
platform = loader.get_platform(hass, domain, p_name)
File "/usr/local/lib/python3.6/site-packages/homeassistant/loader.py", line 60, in get_platform
return get_component(hass, PLATFORM_FORMAT.format(domain, platform))
File "/usr/local/lib/python3.6/site-packages/homeassistant/loader.py", line 92, in get_component
module = importlib.import_module(path)
File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 674, in exec_module
File "<frozen importlib._bootstrap_external>", line 781, in get_code
File "<frozen importlib._bootstrap_external>", line 741, in source_to_code
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/config/custom_components/switch/phicomm_dc1.py", line 339
continue
^
SyntaxError: invalid syntax
|
|