本帖最后由 liaoliao007 于 2023-8-28 02:15 编辑
以下是我的mqtt的配置,但是一直报错,请问具体原因是什么?
# mqtt服务设置 mqtt: broker: bemfa.com port: 9501 #客户端ID client_id: 45331dce8c00477ebbecb3986c35997a # 心跳设置 keepalive: 60
报错信息如下:
重新启动 Home Assistant 失败[color=var(--primary-text-color)]The system cannot restart because the configuration is not valid: Invalid config for [mqtt]: The 'broker' option near /config/configuration.yaml:21 has been removed, please remove it from your configuration for dictionary value @ data['mqtt']. Got {'broker': 'bemfa.com', 'port': 9501, 'client_id': '45331dce8c00477ebbecb3986c35997b', 'keepalive': 60}. (See /config/configuration.yaml, line 21).
我参照的是巴法提供的文档写的自己的配置,原文件地址如下:https://bemfa.blog.csdn.net/arti ... G91ZC5iZW1mYS5jb20v
|