Detection of Security Device State changes