REST notification

Hi,

I have a gotify server setup elsewhere that is working ok

I tried adding this to my configuration.yaml…

# gotify setup
notify:
  - name: gotify
    platform: rest
    resource: https://xxxxxxx.co.uk/message
    method: POST_JSON
    headers: 
      X-Gotify-Key: xxxxxxxxxxxxxxxxxxx
    message_param_name: message
    title_param_name: title
    data:
      priority: 6
      extras:
        client::display:
          contentType: "text/markdown"

But when i goto developer tools > actions and start typing notify, the “notify.gotify” option does not come up

Any ideas please?

thanks

Did you restart HA?
What happens if you switch to YAML in the dev action and try it that way?

hi, yes restarted few times

yes i did switch to yaml and try that way, but got nothing, tried watching the different HA logs, but couldn’t see any indication of any logs appearing on pressing “perform action” in any of the log files

all fixed … as expected … it was my silly error :slight_smile:

already had a notify section in my config.yaml further down (for smtp notifications)

logs picked it up and once i amalgamated them… all working as expected

  • 1 for the logs!