/// <summary> /// Unlocks door and greets visitor /// </summary> private async void UnlockDoor(string visitorName) { // Greet visitor await speech.Read(SpeechContants.GeneralGreetingMessage(visitorName)); if (gpioAvailable) { // Unlock door for specified ammount of time gpioHelper.UnlockDoor(); } }