diff --git a/components/ble_keyboard/ble_keyboard.cpp b/components/ble_keyboard/ble_keyboard.cpp index 178d316..3e3a150 100644 --- a/components/ble_keyboard/ble_keyboard.cpp +++ b/components/ble_keyboard/ble_keyboard.cpp @@ -99,6 +99,8 @@ void Esp32BleKeyboard::press(MediaKeyReport key, bool with_timer) { this->update_timer(); } bleKeyboard.press(key); + delay(100); + bleKeyboard.release(key); } } @@ -111,4 +113,4 @@ void Esp32BleKeyboard::release() { } // namespace ble_keyboard } // namespace esphome -#endif \ No newline at end of file +#endif