Inkbird Bluetooth sensor disconnecting

I have a ESP32 using Esphome as a Bluetooth proxy. This is connected to a RPI 4. I have two Inkbird IBS-TH2 Bluetooth temperature sensors. I use the Inkbird integration in HA. Randomly one of the sensors disconnects. When I try the Inkbird app on the phone it connects instantly through the phone’s Bluetooth with no issue. How do I troubleshoot this to figure out what is causing the disconnection in HA? The connection path goes from the esp32 device through the Esphome proxy software to the PI4 to HA through the Inkbird App. This is a fairly new issue as it worked for months with no disconnects.

I don’t know but sharing your config and some logs is probably a good next step.

This is my Esphome code:

substitutions:
  name: "garage-bluetooth-proxy"
  friendly_name: garage_bluetooth
packages:
  esphome.bluetooth-proxy: github://esphome/bluetooth-proxies/esp32-generic.yaml@main
esphome:
  name: ${name}
  name_add_mac_suffix: false
  friendly_name: ${friendly_name}
button:
  - platform: restart
    name: "Restart"
    id: Button_Restart
logger:
  level: VERBOSE
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  use_address: 192.168.1.80
  manual_ip:
    static_ip: 192.168.1.80
    gateway: 192.168.1.1
    subnet: 255.255.255.0
    dns1: 192.168.1.1
    dns2: 8.8.8.8