Simulated switch stop working

Why has my simulated switch stop working all of a sudden?