ES3 Smart Lighting Switch 1 loop