How to trigger actions from conditional statements

Richard, I decided to give a try to Conditional Statements so I can simplify a Security Alert for my doors. I managed to right down this logic and I think it is working because I get the desired string in the value of the condition, but the action is not triggered, how can I trigger it??

((main_door_open AND kitchen_patio_close AND !roof_door_open) AND !bedroom_open AND is_night) ? "{tone:tts}{BGColor:red}{FGColor:red}Alerta! Puerta principal abierta!" : ((!main_door_open AND !kitchen_patio_close AND !roof_door_open) AND !bedroom_open AND is_night) ? "{tone:tts}{BGColor:red}{FGColor:red}Alerta! Puerta patio abierta!" : ((!main_door_open AND kitchen_patio_close AND roof_door_open) AND !bedroom_open AND is_night) ? "{tone:tts}{BGColor:red}{FGColor:red}Alerta! Puerta ruf abierta!" : ((main_door_open AND !kitchen_patio_close AND !roof_door_open) AND !bedroom_open AND is_night) ? "{tone:tts}{BGColor:red}{FGColor:red}Alerta! Puerta principal y patio!" : ((main_door_open AND kitchen_patio_close AND roof_door_open) AND !bedroom_open AND is_night) ? "{tone:tts}{BGColor:red}{FGColor:red}Alerta! Puertas principal y ruf abiertas!" : ((!main_door_open AND !kitchen_patio_close AND roof_door_open) AND !bedroom_open AND is_night) ? "{tone:tts}{BGColor:red}{FGColor:red}Alerta! Puertas patio y ruf abiertas!" : ((main_door_open AND !kitchen_patio_close AND roof_door_open) AND !bedroom_open AND is_night) ? "{tone:tts}{BGColor:red}{FGColor:red}Alerta! Todas las puertas abiertas!" : !is_night ? "{tone:none}{BGColor:red}{FGColor:green}Seguridad desactivada" : "{tone:tts}{BGColor:red}{FGColor:blue}La casa est? segura"

Regards.

Start the condition name with an underscore.

I tried that, but the problem is that the action fires every time a trigger changes, and I need it to only fire when the result changes. Another thing is that strings are converted to uppercase and Vera alerts dies not recognize the {TONE:TTS} and {TONE:NONE}

I will have to see if there is bug or two here.

Can you email me your status report.

It’s probably a bug that VeraAlerts does not handle the upper case names … but it’s a bug the PLEG upper cased your strings.

Ok, even I get back to home I’ll send you the report.

And about the alerts, how can I make that I only receive the alert when the string changes and not every time a trigger is triggered?

When I get your info I will see what’s happening … and get back to you.

Richard, thank you for the follow-up, attached is my status report.

Is I previously told you, I have two issues:

[ol][li]All strings are converted to uppercase and VeraAlerts does note recognize {TONE:NONE} and {TONE:TTS} in uppercase.[/li]
[li]The condition, with no underscore, never fires. And with underscore, it fires everytime a trigger changes its status despite if the result is the same string. I only want to receive an alert when the resulting string changes its value, if it is the same string, I will keep receiving the alert everytime a trigger changes its state.[/li][/ol]

Thank you as always.