Nest Protect and GE Z wave Switch

Can anyone help me with a rule or something that in the event of nest protect co/smoke alarm state is no longer green it will flash all lights in the home untill the alarm is cleared?