This is all tied to an appdaemon app that I’ve modified to send alerts when entities go into certain states (think door lock or garage door) – It’s been written to be generic so each instance of the app can be customized for different component/entity types.I then pass in the relevant data to create an HTML5 notification action that allows me to quickly secure the entity (lock the door or close the garage) from the notification on my phone or desktop.
Here is a desktop example (the “Secure” button at the bottom is the custom action):
You are my absolute, absolute life-saver! In fact, I signed up for an account on hassio so that I could post this comment. I was stuck at trigger.event for SO, SO, SOOOOO long. I saw my data there, but I didn’t know how to get the data out for usage. Thanks a bunch, bunch, bunch, for this finding! Cheers!
Im trying to do same as you, for my garage door. Would be fantastic to be able to close the garage door right from the notification. This is the only solid thing I can find on actionable HTML5 notifications.
Would it be possible for you to elaborate a bit on the steps for setting this up? Would be greatly appreciated.