|
各位大神好,我是刚研究这个的小白,我已经安装了homeassistant 8.0,并且安装了hscs 1.25.0。显示一切正常,但是一旦给 configuration文件添加语句后重启服务就报错,
添加语句后configuration.yaml 全部内容为:
# Loads default set of integrations. Do not remove.
default_config:
# Text to speech
tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
#于加入,一旦购买homepod 才能使用
#homekit:
#hacs:
# token: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
# 前端配置
frontend:
... # your configuration.
themes: !include_dir_merge_named themes
... # your configuration.
加入信息是
frontend:
... # your configuration.
themes: !include_dir_merge_named themes
... # your configuration.
重启服务报错内容为
The system cannot restart because the configuration is not valid: Error loading /config/configuration.yaml: while parsing a block mapping in "/config/configuration.yaml", line 3, column 1 expected <block end>, but found '<block mapping start>' in "/config/configuration.yaml", line 22, column 3,
甚至把加入的语句注释了也报错,
很奇怪,查了好多资料,百思不得其解,
然后下载hacs的主题插件也报错,无法下载,能下载lovelace,一旦下载主题就报错,报错是 could not downlaod,see log for details
可否哪位大神指点一二
|
|