I have recreated virtual switches HE that are activated via WeatherFlow and IFTTT, but now I now need to figure out how create the actual rule, where If a button is pressed, the correct TTS will be announced?
I am sure this must be simple, but not sure how to do it??
UPDATE - SOLUTION
Thanks the help of @vjv, @marktheknife, and @ritchierich I used the following solution.
Turns out there isn't a nested statement in RM like there is in WC. Needed to create a separate Triggered Rule in RM for each of the desired announcements.
I expanded the original 3 statements to 5 - keeping in line with the Australian Beaurea of Meteorology (BOM) classification.
Steps (for other noobs like me)
Created Virtual Switch for each UV category: 1-2, 3-5, 6-7, 8-10, 11+
Created Rule for each UV category where if Virtual switch is on, turn the others off (5 rules)
Created IFTTT applet for each category step change (connecting WeartherFlow Increase/decrease of UV index Above/Below X, Y, Z, to turning ON the respective Virtual Switch. (8 applets)
Created Triggered Rule (x 5) where if Button 1 is pressed, if Virtual Switch is ON, play message.
You have to create 3 rules for that, and I'm creating a rule to test because I think the keypad, if it's Iris or Centralite, doesn't support button presses yet, only codes or states in RM are supported.