- 积分
- 6053
- 金钱
- 3980
- 威望
- 0
- 贡献
- 0
- HASS币
- 145
论坛元老
流水无味
- 积分
- 6053
- 金钱
- 3980
- HASS币
- 145
|
发表于 2018-7-18 02:34:33
|
显示全部楼层
本帖最后由 xieahui 于 2018-7-18 10:37 编辑
有出来这个错误 大神求解
2018-07-18 02:32:55 WARNING (MainThread) [homeassistant.loader] You are using a custom component for climate.broadlink which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-07-18 02:32:55 WARNING (MainThread) [homeassistant.loader] You are using a custom component for switch.konke which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-07-18 02:33:05 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of platform ping is taking over 10 seconds.
2018-07-18 02:33:19 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/setup.py", line 56, in async_setup_component
return await task
File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/setup.py", line 116, in _async_setup_component
conf_util.async_process_component_config(hass, config, domain)
File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/config.py", line 673, in async_process_component_config
platform = get_platform(hass, domain, p_name)
File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/loader.py", line 58, in get_platform
return get_component(hass, PLATFORM_FORMAT.format(domain, platform))
File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/loader.py", line 86, in get_component
module = importlib.import_module(path)
File "/usr/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 "/home/homeassistant/.homeassistant/custom_components/sensor/phicomm.py", line 7
<!DOCTYPE html>
^
SyntaxError: invalid syntax
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
自己逗比了 进入一个误区 直接把链接右键另存为phicomm.py
反复折腾发现这个是htm 把进去后把代码复制出来可以
|
|