Your manually configured MQTT sensor(s) needs attention
此项在版本 2022.12.0 中无法工作。请在升级之前解决。
官方文档是这样说明的: 要在您的安装中使用 MQTT 传感器,请将以下内容添加到您的configuration.yaml文件中: # Example configuration.yaml entrymqtt: sensor: - state_topic: "home/bedroom/temperature"[size=0.8em]YAML
复制
以前的配置格式
手动配置的 MQTT 项的配置格式已更改。将配置置于sensor平台密钥下的旧格式不应再使用并且已弃用。 上面的例子展示了新的和现代的方式,这是以前/旧的例子: sensor: - platform: mqtt state_topic: "home/bedroom/temperature
|