求助:智趣盒子里CONFIGURATION被改后无法重启,现在改回后还是不行

255756c07b4ffaf466318d8bd77babaa00fb21e4_2_666x500
Logger: homeassistant.components.websocket_api.http.connection
Source: components/hassio/init .py:705
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 2022年11月20日 23:52:44 (11 occurrences)
Last logged: 00:27:21

[281472259609344] The system cannot restart because the configuration is not valid: Error loading /config/configuration.yaml: mapping values are not allowed here in “/config/configuration.yaml”, line 18, column 32
[281472120006176] The system cannot restart because the configuration is not valid: Error loading /config/configuration.yaml: mapping values are not allowed here in “/config/configuration.yaml”, line 18, column 32
[281472296441104] The system cannot restart because the configuration is not valid: Error loading /config/configuration.yaml: Secret imac_off not defined
[281472230331280] The system cannot restart because the configuration is not valid: Error loading /config/configuration.yaml: Secret imac_off not defined
[281472267841120] The system cannot restart because the configuration is not valid: Error loading /config/configuration.yaml: Secret imac_off not defined
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py”, line 202, in handle_call_service
await hass.services.async_call(
File “/usr/src/homeassistant/homeassistant/core.py”, line 1738, in async_call
task.result()
File “/usr/src/homeassistant/homeassistant/core.py”, line 1775, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File “/usr/src/homeassistant/homeassistant/components/hassio/init.py”, line 705, in async_handle_core_service
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Error loading /config/configuration.yaml: mapping values are not allowed here
in “/config/configuration.yaml”, line 18, column 32


# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

homeassistant:
  packages: !include_dir_named packages

# Text to speech
tts:
  - platform: google_translate
  
frontend:
  themes: !include_dir_merge_named themes
  
  
recorder:
  auto_purge: true
  purge_keep_days: 3
  
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

还是不行,再帮忙看看还有哪里有问题?


您除了这个文件改了,还有没有其他的改了。

其他设置没改过,添加过其他文件到package里,按这个步骤添加的,


添加的文件从GITHUB上下载的

我发现和报错有关的IMAC的问题只有这个里面有(我用的笔记本不是IMAC)

你删除IMaC这个文件,看看能不能重启,先定位到具体文件

删了后现在又报其他错了,我把package的里面都删了也不行,我又都重新上传了文件,会不会因为package里原先的文件被有些文件覆盖了, 改掉了设置,能不能重新发我一下package里的文件,我重新上传文件,我邮箱 blueeye_zzy@hotmail.com

原来packages文件夹是空的,无任何文件