How to import a script that is used in a blueprint

Heya all,

I found this really neat blueprint for Fibaro smoke sensors here https://community.home-assistant.io/t/fibaro-smoke-sensor-notification/310909 and it makes use of a script for some actions https://gitlab.com/irgusite/ha-config/-/blob/master/script/notification_script.yaml

I managed to import the blueprint just fine, but I can’t figure out how to import the script ? I tried copy/pasting the content in the scripts.yaml file but home assistant doesn’t seem to recognize it. What am I missing here or what am I doing wrong ?
There seems not to be a lot of information on importing scripts so perhaps it’s not possible ?

Thanks for all the help!

Tom

Easiest way is to make a new script in the UI, go to YAML mode (click the 3 dots) and paste the content

Thanks for your feedback Florian, but when I do that, I get the following prompt :

Message malformed: extra keys not allowed @ data['notification_engine']

I’ve just copied the entire content into a new empty script. Probably doing lots of stuff wrong here, but I have no clue what or where to start ?

Thanks,
Tom

Hello there,
I must be going through the same thought process, with the same error ; I’m sure it’s simple but how did you ever fix it?
Many thanks