private async void TriggerAction(DeviceButtonEventArgs e)
 {
     if (base.ServiceProvider == null || base.Device == null)
     {
         _logger?.LogWarning("EncoderActionBinding triggered before it got enabled.");
         return;
     }
     if (e.Button.Id == base.DeviceControlId)
     {
         if (ButtonPressed != null)
         {
             if (!ButtonPressed.IsInitialized)
             {
                 await ButtonPressed.InitializeAsync(ServiceProvider).ConfigureAwait(false);
             }
             await ButtonPressed.ExecuteAsync().ConfigureAwait(false);
         }
     }
 }