MQTT sensor configuration issue

I have the following in my yaml file but only boiler flow, and boiler state are displayed in the overview page. The MQTT integration also doesnt show these items.
Im not sure what if Im doing something wrong. I tried it with mqtt: before each and also like below with one line showing mqtt: and multiple items after. This didnt seem to make any difference.

edit,
actually since restarting ive now got the return temperature but not the flow.

Thanks

# boiler monitor items
mqtt:
  sensor:
    - name: "Boiler Flow Temperature"
      state_topic: "home/boilerMonitor/flowTemperature"
      unit_of_measurement: "°C"
      payload_available: "online"
      payload_not_available: "offline"
      state_class: "measurement"
      device_class: "temperature"
  sensor:
    - name: "Boiler Return Temperature"
      state_topic: "home/boilerMonitor/returnTemperature"
      unit_of_measurement: "°C"
      payload_available: "online"
      payload_not_available: "offline"
      state_class: "measurement"
      device_class: "temperature"
  binary_sensor:
    - name: "Boiler Run State"
      state_topic: "home/boilerMonitor/boilerState"
      payload_available: "online"
      payload_not_available: "offline"
      payload_on: "1"
      payload_off: "0"
      device_class: "heat"
# boiler monitor items
mqtt:
  sensor:
    - name: "Boiler Flow Temperature"
      state_topic: "home/boilerMonitor/flowTemperature"
      unit_of_measurement: "°C"
      payload_available: "online"
      payload_not_available: "offline"
      state_class: "measurement"
      device_class: "temperature"

    - name: "Boiler Return Temperature"
      state_topic: "home/boilerMonitor/returnTemperature"
      unit_of_measurement: "°C"
      payload_available: "online"
      payload_not_available: "offline"
      state_class: "measurement"
      device_class: "temperature"
  binary_sensor:
    - name: "Boiler Run State"
      state_topic: "home/boilerMonitor/boilerState"
      payload_available: "online"
      payload_not_available: "offline"
      payload_on: "1"
      payload_off: "0"
      device_class: "heat"

brilliant, I see what I missed

Thanks

1 Like