private void LampSwitch_Toggled(object sender, RoutedEventArgs e)
 {
     if (lampFound)
     {
         lampHelper.SetOnOffAsync(((ToggleSwitch)sender).IsOn);
     }
 }
        private static void LampHelper_LampFound(object sender, EventArgs e)
        {
            LampHelper lampHelper = sender as LampHelper;

            lampHelper.SetOnOffAsync(onStateChangeRequested);
        }