Mate, I have never added the line for web server, and it activates it automatically.
That’s the whole reason I spend about 6 hours figuring out why the web server is activated even without mentioning it in YAML, when using the other framework:
esp32:
board: esp32dev
framework:
type: esp-idf
bluetooth_proxy:
active: true
connection_slots: 3