Hi,
I am a little bit confused.
I am using a lot of MQTT based sensors.
Now I got an information about the new version 2022.12.0 will not accept my current config. I have to read documentation.
Unfortunately I am now unsure how to deal with multiple sensors. Which of the following will be the correct one?
#version 1
mqtt:
sensor:
-state_topic: "home/bedroom/temperature"
-name "Temp - SZ"
sensor:
-state_topic: "home/kitchen/temperature"
-name "Temp - K"
Or this one:
#version 2
mqtt:
sensor:
-state_topic: "home/bedroom/temperature"
-name "Temp - SZ"
mqtt:
sensor:
-state_topic: "home/kitchen/temperature"
-name "Temp - K"
Before upgrading I want to make sure the config is correct, so please bring some light in here.
Thanks a lot!
/KNEBB