Having Trouble understanding value_templates

I’m on the latest version of HA running on a RP4. I had the following and it was working. As I added more weather items they all started showing up unknown instead of the data. Reverting back did not solve the problem and WeatherTemp continued to show up as unknown.

  - state_topic: "CumulusMX/Test"
    name: "WeatherTemp"
    value_template: '{{ value_json["temp"] }}'
    unit_of_measurement: "°F"

MQTT Explorer is showing me this:

If I remove value template, and go check the WeatherTemp entity it shows me this:

I can’t figure out what I’m doing wrong with the value_template

  - state_topic: "CumulusMX/Test"
    name: "WeatherDew"
    icon: mdi:thermometer-water
    value_template: '{{ value_json["Dew"] }}' 
    unit_of_measurement: "°F"  

  - state_topic: "CumulusMX/Test"
    name: "Weather Inside Temp"
    value_template: '{{ value_json["intemp"] }}' 
    unit_of_measurement: "°F"
    unique_id: uniqueid__weather_intemp_f

  - state_topic: "CumulusMX/Test"
    name: "1Weather Wind Direction"
    icon: mdi:weather-windy
    value_template: '{{ value_json["wdir"] }}' 
    unit_of_measurement: "°"

I did realize that, I assumed that because I saw updates from the MQTT plugin screen that I should also see them from the entities.

image

Separate mqtt.yaml

Not seeing anything related in the logs either.

I figured it out!

my formatting of the mqtt output from Cumulus MX was off.

{"topics":[
    {
        "topic": "CumulusMX/Interval",
        "data": "{
                    \"time\":\"<#timehhmmss>\"
                    ,\"temp\":<#temp rc=y>
                    ,\"humidity\":<#hum>
                    ,\"wgust\":<#wgust rc=y>
                    }"
                    ,
        "retain": false
    }
]}