What's the best debug statement?

hello,

I often want to show a notification about some values or if certain peace of the configuration is executed.
I can send an email (takes a while) of a notify to syslog (where it will be hidden in a lot of other messages.
So I like to have a popup or some field on the screen where I can dump messages.

best regards, Stef

Is this any good ?

Yeah that’s what I use:

service: persistent_notification.create
data:
  message: "The event fired"
  title: "Debug Message"

thanks people, that works great.

In the meanwhile I found another one through mqtt,

      - service: mqtt.publish
        data_template :
          payload : debug statement
          topic   : ha/from_HA_Debug

the mqtt has the advantage that you can easily group message by changing the topic.

cheers, Stef

1 Like