I used the config posted by sew999. I’ll draw attention to a few points that hung me up:
I’m pretty sure this is the include.h in question.
The arduino part in this section is important otherwise it won’t compile properly:
esp32:
board: esp32-s3-devkitc-1
framework:
type: arduino
I had been attempting to re-purpose an ESP32 dev board that I had initially flashed with ESPHome Bluetooth Proxy. I fought with this on and off for what feels like months and finally it hit me to try and comment out the BT Proxy business:
#packages:
# esphome.bluetooth-proxy: github://esphome/bluetooth-proxies/esp32-generic.yaml@main
And both the BM2 as well as another Otodata propane tank monitor I couldn’t get working started reporting data to Home Assistant. I can’t say an ESP32 can’t do both BT Proxy and these other esp32_ble_tracker / ble_client roles, but that seemed to be causing a conflict for me in some way.
DaBer