First of all I changed the original script made by @GrahamS to better suite my needs so all credit goes to him.
In the following steps I assume that you already have twilio configured otherwise refer to official documentation.
First Enable Python Scripts in your configuration.yaml.
Then put custom_twilio.py in your python script folder.
and finally test if all is working with a script like the following
there is something wrong, (I state that the twilio service works regularly but in English). I want to summarize the steps I made following your advice:
I added the line to the configurtation.yaml:
inside config I created a folder called “python_scripts” and I inserted the file “custom_twilio.py”,
I modified the last line of the content as you suggested.
Hi, ok I managed to start the script. but the problem remains that the item is in English although the parameter is “it-IT” at this point I have to ask you two questions: 1) but from the script I posted I still have to change some parameters on the language? 2) you must have a paid version instead of the one
trial version? the voice that answers me repeats a sentence about upgrade and not the one indicated by me. sorry if I’m wasting your time but I’d be happy if you help me. Hi Giovanni
Solved, I just had to make a deposit on twilio. the point of the situation if I start the script the entry is in Italian, if I start the automation the entry is in English how can I integrate the custom script just created?