Improving Bluetooth proxy performace?

I just integrated switchbot curtains using bluetooth proxy. The devices are all in the same room, but their performance is inconsistent. Sometimes, the curtains open and close very quickly, other times it takes a long long time to respond or they just don’t respond. Is there a way of improving this?

Since you don’t mention the documentation, I assume you haven’t read it. You need to

I’m new to esphome. I took me a while to realize that i needed ESPHome to modify the default instalation that i did. I tried following the instruction and created this yaml:

substitutions:
  name: atom-bluetooth-proxy-d78d10
packages:
  esphome.bluetooth-proxy: github://esphome/bluetooth-proxies/m5stack-atom-lite.yaml@main
esphome:
  name: ${name}
  name_add_mac_suffix: false
api:
  encryption:
    key: ******


wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

bluetooth_proxy:
  active: true

esp32_ble_tracker:
  scan_parameters:
    interval: 1100ms
    window: 1100ms

Alas, my switchbot curtains v2 are still slow and unreliable if I try to use them with home assistant. The experience is much better if their native app in my phone. Any suggestions?

Logs please.