- 积分
- 146
- 金钱
- 126
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
注册会员
- 积分
- 146
- 金钱
- 126
- HASS币
- 0
|
发表于 2019-8-26 09:30:42
|
显示全部楼层
Traceback (most recent call last):
File "/usr/local/bin/esphome", line 6, in <module>
from esphome.__main__ import main
File "/usr/local/lib/python2.7/dist-packages/esphome/__main__.py", line 10, in <module>
from esphome import const, writer, yaml_util
File "/usr/local/lib/python2.7/dist-packages/esphome/writer.py", line 7, in <module>
from esphome.config import iter_components
File "/usr/local/lib/python2.7/dist-packages/esphome/config.py", line 15, in <module>
from esphome import core, core_config, yaml_util
File "/usr/local/lib/python2.7/dist-packages/esphome/core_config.py", line 6, in <module>
import esphome.config_validation as cv
File "/usr/local/lib/python2.7/dist-packages/esphome/config_validation.py", line 1242, in <module>
Optional(CONF_COMMAND_TOPIC): All(requires_component('mqtt'), subscribe_topic),
File "/usr/local/lib/python2.7/dist-packages/esphome/voluptuous_schema.py", line 198, in extend
ret = super(_Schema, self).extend(schema, extra=extra)
File "/usr/local/lib/python2.7/dist-packages/voluptuous/schema_builder.py", line 782, in extend
return result_cls(result, required=result_required, extra=result_extra)
TypeError: __init__() got an unexpected keyword argument 'required'
root@raspberrypi:~# esphome config /dashboard
Traceback (most recent call last):
File "/usr/local/bin/esphome", line 6, in <module>
from esphome.__main__ import main
File "/usr/local/lib/python2.7/dist-packages/esphome/__main__.py", line 10, in <module>
from esphome import const, writer, yaml_util
File "/usr/local/lib/python2.7/dist-packages/esphome/writer.py", line 7, in <module>
from esphome.config import iter_components
File "/usr/local/lib/python2.7/dist-packages/esphome/config.py", line 15, in <module>
from esphome import core, core_config, yaml_util
File "/usr/local/lib/python2.7/dist-packages/esphome/core_config.py", line 6, in <module>
import esphome.config_validation as cv
File "/usr/local/lib/python2.7/dist-packages/esphome/config_validation.py", line 1242, in <module>
Optional(CONF_COMMAND_TOPIC): All(requires_component('mqtt'), subscribe_topic),
File "/usr/local/lib/python2.7/dist-packages/esphome/voluptuous_schema.py", line 198, in extend
ret = super(_Schema, self).extend(schema, extra=extra)
File "/usr/local/lib/python2.7/dist-packages/voluptuous/schema_builder.py", line 782, in extend
return result_cls(result, required=result_required, extra=result_extra)
TypeError: __init__() got an unexpected keyword argument 'required'
root@raspberrypi:~# esphome config dashboard
Traceback (most recent call last):
File "/usr/local/bin/esphome", line 6, in <module>
from esphome.__main__ import main
File "/usr/local/lib/python2.7/dist-packages/esphome/__main__.py", line 10, in <module>
from esphome import const, writer, yaml_util
File "/usr/local/lib/python2.7/dist-packages/esphome/writer.py", line 7, in <module>
from esphome.config import iter_components
File "/usr/local/lib/python2.7/dist-packages/esphome/config.py", line 15, in <module>
from esphome import core, core_config, yaml_util
File "/usr/local/lib/python2.7/dist-packages/esphome/core_config.py", line 6, in <module>
import esphome.config_validation as cv
File "/usr/local/lib/python2.7/dist-packages/esphome/config_validation.py", line 1242, in <module>
Optional(CONF_COMMAND_TOPIC): All(requires_component('mqtt'), subscribe_topic),
File "/usr/local/lib/python2.7/dist-packages/esphome/voluptuous_schema.py", line 198, in extend
ret = super(_Schema, self).extend(schema, extra=extra)
File "/usr/local/lib/python2.7/dist-packages/voluptuous/schema_builder.py", line 782, in extend
return result_cls(result, required=result_required, extra=result_extra)
TypeError: __init__() got an unexpected keyword argument 'required'
谢谢解答,但是我在命令行装,执行到浏览器配置这一步就报错了 |
|