here something, maybe can give you an idea. this is only for one light tho, if you have more lights maybe you can do something with “get entities” node. you need to change the inject nodes with your alarm status triggers.
first flow basically stores the initial state of the light in “flow context”, and second flow puts the light back to pre-alarm state. this example only storing the state but probably you need to store brigtness and color as well. or use fixed brigthness and color in the data box of call service node in second flow, if you don’t need to go back “exactly” how they were before
[{"id":"e7a1a411.c0a818","type":"inject","z":"294e4f5f.46b07","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":140,"y":760,"wires":[["cb4303c.6b029"]]},{"id":"d992a175.4b36d","type":"api-call-service","z":"294e4f5f.46b07","name":"set light initial state","server":"e447d17a.16a64","service_domain":"light","service":"{{flow.service}}","data":"{\"entity_id\":\"{{flow.entity_id.entity_id}}\"}","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":370,"y":840,"wires":[[]]},{"id":"a811aff.38cbb5","type":"inject","z":"294e4f5f.46b07","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":140,"y":840,"wires":[["d992a175.4b36d"]]},{"id":"cb4303c.6b029","type":"api-current-state","z":"294e4f5f.46b07","name":"inital state","server":"e447d17a.16a64","version":1,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"light.on_off_plug_1","state_type":"str","state_location":"service","override_payload":"flow","entity_location":"entity_id","override_data":"flow","blockInputOverrides":false,"x":340,"y":760,"wires":[["5928e8ea.edb628"]]},{"id":"5928e8ea.edb628","type":"change","z":"294e4f5f.46b07","name":"","rules":[{"t":"change","p":"service","pt":"flow","from":"on","fromt":"str","to":"turn_on","tot":"str"},{"t":"change","p":"service","pt":"flow","from":"off","fromt":"str","to":"turn_off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":520,"y":760,"wires":[[]]},{"id":"e447d17a.16a64","type":"server","z":"","name":"Home Assistant","legacy":false,"hassio":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":false}]