homeassistant没法重启,怎么办?
把那些删掉吧,在packages里面配置。论坛搜packages,以前萝卜哥有写过教程
麻烦把原来configuration的设置发我一下,现在改不回来了,谢谢
附上日志和configuration内容
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
提供截图,这个文件打不开
你的是不是很久的版本了?