Well, do you know why it’s there?
Here is the description. Namely,
warning
(string) (Optional)
Entity ID to turn on when the alarm has been tripped.alarm
(string) (Optional)
Entity ID to turn on when the alarm has been triggered.
When alarm is armed, they both being turned off to ensure they’re off.
So basically it designed for switches that control sirens/lights/etc and not for automations.
Does it explain your situation?