MQTT Discovery AND Manually configured MQTT sensors?

I had MQTT autodiscovery turned off for the longest time, but recently had to turn it on, because after a HA update a couple of months ago, all of my manually. configured MQTT sensors were 'unknown.

That resolved my problem then, but now I’m struggling again because I need to configure some MQTT sensors manually. They show up in dev tools but as unknown.

Anyone know what can cause this?! ALL of the manually configured MQTT sensors show up as unknown and they definitely worked well until a few updates ago.

The only thing I can think of is now use EMQX instead of the built in Mosquitto broker because that developed an issue, can’t remember what, (I’d been on v2 for years) and I had to move to EMQX.

Any ideas?!

thanks

Coding error?

Show us the definition of your MQTT sensors in YAML, and some picture of the associated MQTT topics in, e.g, MQTT Explorer

For sure, manually defined MQTT sensors are totally unrelated to discovery topics

Received on smtp_aggregator/summary at 13:49:

{
    "period": {
        "start": "2024-11-17T21:13:50.772Z",
        "end": "2024-11-17T21:30:22.666Z"
    },
    "counts": {
        "total": 12,
        "paired": 0,
        "standalone": 12
    },
    "queue": {
        "length": 0,
        "processing": 0,
        "failed": 0
    },
    "performance": {
        "averageProcessingTime": 0,
        "successRate": 0
    },
    "smtp": {
        "connected": true
    },
    "summary": {
        "period": {
            "start": "2024-11-17T21:25:22.660Z",
            "end": "2024-11-17T21:30:22.668Z"
        },
        "emails": {
            "subjects": [
                " - Top Sellers by Supplier",
                "  - Top Sellers by Supplier",
                "  - Takings Report",
                "  - Takings Report"
            ],
            "totalCount": 4,
            "summarized": false,
            "topPatterns": [
                {
                    "pattern": "Top Sellers by Supplier",
                    "count": 2
                },
                {
                    "pattern": " Takings Report",
                    "count": 2
                }
            ]
        }
    }
}

and my sensors look like this:

  sensor:
  - name: "SMTP Aggregator Paired Emails"
    state_topic: "smtp_aggregator/summay"
    unique_id: smtp_aggregator_paired_emails
    unit_of_measurement: "pairs"
    value_template: "{{ value_json.counts.paired | default(0) }}"
    icon: mdi:email-multiple
  - name: "SMTP Aggregator Debug"
    state_topic: "smtp_aggregator/summay"
    unique_id: smtp_aggregator_debug
    value_template: "{{ value_json | tojson }}"
  - name: "SMTP Aggregator Standalone Emails"
    state_topic: "smtp_aggregator/summay"
    unique_id: smtp_aggregator_standalone_emails
    unit_of_measurement: "emails"
    value_template: "{{ value_json.counts.standalone | default(0) }}"
    icon: mdi:email
  - name: "SMTP Aggregator Total Emails"
    state_topic: "smtp_aggregator/summay"
    unique_id: smtp_aggregator_total_emails
    unit_of_measurement: "emails"
    value_template: "{{ value_json.counts.total | default(0) }}"
    icon: mdi:email-check
  - name: "SMTP Aggregator Success Rate"
    state_topic: "smtp_aggregator/summay"
    unique_id: smtp_aggregator_success_rate
    unit_of_measurement: "%"
    value_template: "{{ value_json.performance.successRate | default(0) }}"
    icon: mdi:check-circle

“r” missing

Oh nooooooo the shame

(I have a faulty “r” key on my MacBook)

Thank you!!