So, I am getting this error in my logs:
Manually configured MQTT sensor(s) found under platform key 'sensor', please move to the mqtt integration key, see https://www.home-assistant.io/integrations/sensor.mqtt/#new_format
My included MQTT sensor file is of the following format:
################ ESP_MBR ################
- platform: mqtt
name: "Temperature1"
state_topic: "/ESP_MBR/Env/Temperature"
qos: 0
unit_of_measurement: "°F"
- platform: mqtt
name: "Humidity1"
state_topic: "/ESP_MBR/Env/Humidity"
qos: 0
unit_of_measurement: "%"
- platform: mqtt
name: "switch1"
state_topic: "/ESP_MBR/switch1/Switch"
- platform: mqtt
name: "MBR ESP IP"
icon: mdi:lan
state_topic: "/ESP_MBR/status/IP"
qos: 0
- platform: mqtt
name: "MBR status"
icon: mdi:lan
state_topic: "/ESP_MBR/status"
qos: 0
If I am reading the MQTT Sensor page correctly… I will need to add the following at the start of the file:
mqtt:
sensor:
And remove every - platform: mqtt, re-indent and put a dash before each name field.
Am I reading this correctly?