How do I turn off notifications from MQTT?

I’ve built an ESP based device that sends MQTT messages once per minute. These are then used to plot graphs in HA. I’ve not programmed any ‘self discovery’ stuff in the ESP, that’s beyond my abilities. Anyway, it’s working fine and I’m happy with it.

However, the frequent notifications in the side bar are getting annoying now.

How do I turn off notifications from the MQTT integration ?

Not sure which notifications you’re talking about. Are they sent by the ESP?
Screenshot welcome.


The notifications in the side bar on the left of the default Home Screen.

There is no specific code in the ESP to send notifications, just a simple topic message.

Strange indeed. I have 122 devices in MQTT, and never received a notification

Neither do I…
Extremely likely to be sent by “something” in the configuration (esp, automation, …)

I think I might have found it !

In /homeassistant/automations.yaml there is this …

  • id: ‘1738740334725’
    alias: MQTT automation
    description: ‘’
    triggers:
    • trigger: mqtt
      topic: SummerHouse
      conditions:
      actions:
    • action: notify.persistent_notification
      metadata: {}
      data:
      message: 'MQTT received ’
      mode: single

The line “action: notify.persistent_notification” looks like it might be something.

Where do I find the options for this ‘action’ ? The action isn’t in ‘Developer/Actions’.

I’ve looked at MQTT documentation, but it just goes round in circles, literally !
( On “MQTT - Home Assistant” the link " Note: Documentation on the MQTT components that support YAML [can be found here]" just links back to the same page. )

it is there:

Just delete this part of your automation

action: notify.persistent_notification
metadata: {}
data:
message: 'MQTT received ’
mode: single

“it is there:”

Ha, now I see how ‘Developer Tools’ works !. It lets you build chunks of text for including in new actions. I incorrectly thought it let you view existing actions.

I can see now that deleting as you show in the ‘automation.yaml’ will stop the notifications.

I’m fairly new to HA, and don’t know my way around it yet. Is the ‘Automations.yaml’ the place where I should write stuff that reacts to MQTT etc. and responds as I want.

I must admit, I’m finding HA quite complex to work with. It might not be the right tool for the job. I might give up with HA and go back to Node-Red.