Home-Assistant Companion mobile apps have several supported advanced features.
But these features require you to copy down and ensure they are in all your automations, instead I created a set of blueprints that you can use to create scripts for use in your automations instead. Available in my github repository as well
Mobile Companion App Notification Script Blueprints
All my notification scripts use a standard call format below, message is required for everything, while title, critical, and data are optional.
Critical allows a device to bypass the devices input boolean used to as a do not disturb. Title and data is currently used by only mobile apps.
Data for mobile apps are for including additional mobile app notification features
You need to create an input_boolean prior to adding these blueprints that is used for the blueprints control of the do not disturb features.
I am looking at your blueprints and I am going to convert them to a normal script (at least the āset alarmā blueprint for now).
So thanks for posting useful scripts
But in the āset alarmā config I see a data option as āgroup:ā but I donāt see that as a valid option in the mobile app notify service. And when I add it via yaml the config checker complains that āInvalid data for call_service at pos 1: extra keys not allowed @ data[āgroupā]ā.
Iām trying to make your blueprint work, but it is giving me some errors in the yaml configuration. Iām not sure if Iām doing things properly or not. Iām trying to use the DND blueprint/script to set up an automation so that the script triggers when I enter a zone. I test run the script, and it does work, my phone goes into priority. However, I found out after trying to restart my HA, it wouldnāt let me because a problem with the yaml file. When I went to take a look, it was related to the script.
In the scripts.yaml there is an error saying āmissing property entitiesā. Do you know whatās going on?
Thanks!