Automation Help - Simplepush Notification

I’m having trouble with the Simplepush notifier for the below automation.

I know that I can send notifications via command line using curl:

curl 'https://api.simplepush.io/send/device_key/title/message'
```
I can also manually send a message via my Home Assistant Services page using:

    { "message": "This is a test" }


## Automation

https://github.com/brianjking/hass-config/blob/master/automation.yaml#L59-L66

Thanks for your help!

Updated automation to use data_template. No way to test until a new version is released though…

https://github.com/brianjking/hass-config/blob/master/automation.yaml#L59-L66

Have you set the “name” field to ‘simplepush’? From memory, I think the default is ‘notify’ .

@gpbenton

I think you have to have the - indented like

notify:
    - name: simplepush
      platform: simplepush

For me this system is working great - I have just one problem.
Can’t manage so that it would start working notification for person came / go from to home…

- id: '110'
  alias: Obvestilo - Simon je doma
  trigger:
    platform: state
    entity_id: device_tracker.gsms
    from: 'not_home'
    to: 'home'
  action:
    service: notify.ha
    data:
      message: "Simon je prišel domov."
      title: "OSEBA"

Do anybody know what I’m doing wrong…
gsms - this is device which I track…
notify.ha is a user which receive notification…

is maybe problem with not_home to home statement? I tried also with not home to home (with blank space)…