Bluetooth Proxy & i2c

I’m looking to use the bluetooth proxy with a hardware sensor.

I had been using this config successfully using the arduino, but as I understand using the
bluetooth proxy means I’m now using the esp-idf framework and this setup no longer works
(it throws an error on install).

Does anyone know if it could work with both proxy and a sensor working on the same device,
or do I need to separate them out?

Thanks

i2c:
  - id: bus_a
    sda: 26
    scl: 32
    scan: true

sensor:
  - platform: bh1750
    name: "Kitchen Illuminance"
    address: 0x23
    update_interval: 5s

Mmm… no. I use an ESP32 for sensors AND BT proxy under Arduino

[...]
esp32:
  board: esp32doit-devkit-v1
  framework:
    type: arduino
[...]
bluetooth_proxy:
  active: true

sensor:
  - platform: bme280
    temperature:
      name: "Temperature"
      oversampling: 16x
    pressure:
      name: "Pressure"
    humidity:
      name: "Humidity"
    address: 0x77
    update_interval: 60s
[...]

I managed to fix this issue by using the ‘clean build files’ control, thanks anyway!