Flash lights when intruder detected

This example integration will detect intruders. It does so by checking if lights are being turned on while there is no one at home. When this happens it will turn the lights red, flash them for 30 seconds and send a message via the notify integration. It will also flash a specific light when a known person comes home.