新手关于configuration.yaml配置问题
我是在群辉套件中安装的homeassistant,然后应该是core版的,我也懒得折腾插件了。刚开始玩这个,想把家里的萤石摄像头接入,于是在添加集成里找到了,但是他要求我配置configuration.yaml文件。我直接用xshell进入群辉后台,命令找到这个文件,用VI打开后,复制了教程中的这段内容,但是还是无法集成,不明所以。恳求明白的大佬帮忙,我要吐了。
你需要读一读那段代码里面的英文,替换掉该替换的东西。。。。 relliky 发表于 2024-4-4 07:58
你需要读一读那段代码里面的英文,替换掉该替换的东西。。。。
替换了,但是还是集成不了。 Logger: homeassistant.components.homeassistant
Source: components/homeassistant/__init__.py:180
Integration: Home Assistant Core Integration (documentation, issues)
First occurred: 01:16:37 (2 occurrences)
Last logged: 10:23:13
The system cannot restart because the configuration is not valid: Error loading /var/packages/HomeAssistant/home/.homeassistant/configuration.yaml: mapping values are not allowed here in "/var/packages/HomeAssistant/home/.homeassistant/configuration.yaml", line 13, column 24 socialwork 发表于 2024-4-4 12:40
Logger: homeassistant.components.homeassistant
Source: components/homeassistant/__init__.py:180
Inte ...
The system cannot restart because the configuration is not valid: Error loading /var/packages/HomeAssistant/home/.homeassistant/configuration.yaml: mapping values are not allowed here in "/var/packages/HomeAssistant/home/.homeassistant/configuration.yaml", line 13, column 24
这里都提示你了 configuration.yaml 中第13行24列有语法错误
红框那里第二个没有就删掉,不要留着,要么填写正确要么就删掉,不要留着错误的在里面
s2233 发表于 2024-4-4 14:23
The system cannot restart because the configuration is not valid: Error loading /var/packages/Home ...
没用,我已经把红框都删除了,还是没用 删除整个camera项检查配置看看是否正常,name的值应该是不可以带括号的 。。。。。。。。我感觉你的这个问题是把整个camera的配置 写在的整个文件内容的前面了, 大概率是因为在 default config 前面所以才报的错 把camera的部分全部移动到整个configuration文件内容的末尾去 mars.z 发表于 2024-4-4 19:58
。。。。。。。。我感觉你的这个问题是把整个camera的配置 写在的整个文件内容的前面了, 大概率是因为在 d ...
写到后面也是没用
页:
[1]