1) Give a description of the problem
I was looking at an example piston dealing with Random text to speech and wanted to borrow. I already have a morning routine that speaks the weather, but wanted to play around and really just wanted to know if it would work. I did not see any examples with Variables
2) What is the expected behavior?
Speak the weather with Random Greetings
3) What is happening/not happening?
So here is an example if what I’d like to try to use:
Random(“Good Morning . Here is your weather for {$dayOfWeekName}, {$monthName} {$day}. {$weather.forecast.forecast.txt_forecast.forecastday[0].fcttext}.”,“Good Morning Beautiful. Here is your weather for {$dayOfWeekName}, {$monthName} {$day}. {$weather.forecast.forecast.txt_forecast.forecastday[0].fcttext}. Have a great day.”,“Good Morning my wonderful wife. Here is your weather for {$dayOfWeekName}, {$monthName} {$day}. {$weather.forecast.forecast.txt_forecast.forecastday[0].fcttext}. Hope your day is as great as you are.”)
I think it should work, really just looking to see if others have used variables in the RANDOM along with speak text.