Actionable notifications on 2.0 beta

I have exactly the same problem. I copied the config, but I can’t get actionable notifications working.

me either! I can’t get actionable notifications get to work within:

  • Home Assistant 0.97.2
  • iOS App: 1.5.1
  • disabled “use legacy authentication”

Happy to help anyone that still can’t get this working. Here is a post I made a while back with actionable notifications. I’m happy to do a YAML example as well!

It looks like your category is incorrect in your script. You entered the action identifier for “Sound Alarm”. What you need here is the category identifier, which in this case is “alarm” not “SOUND_ALARM”.

This is copied from the docs.

automation:
  - alias: Notify Mobile app
    trigger:
      ...
    action:
      service: notify.mobile_app_<your_device_id_here>
      data:
        message: "Something happened at home!"
        data:
          push:
            category: "alarm" # Needs to match the top level identifier you used in the ios configuration
          action_data: # Anything passed in action_data will get echoed back to Home Assistant.
            entity_id: light.test
            my_custom_data: foo_bar