This feature is only available with frameworks ['arduino']

Hello,

I’m trying to migrate some esp32 devices to esp-idf as recommanded in the latest release party,
but I’m getting “This feature is only available with frameworks [‘arduino’].” on some components.
even on “esp32”
image
I tried a lot, but I think I’m missing some minor important thing

I’m not super familiar with these configurations yet, but you should post your entire configuration file since problems elsewhere in the configuration file can cascade and cause errors like this in unrelated places.

Thnx,
I just took another look I tried a build,
this resulted in

INFO Reading configuration /config/esphome/trapkast-light.yaml...
Failed config

captive_portal: [source /config/esphome/.base.yaml:11]
  
  This feature is only available with frameworks ['arduino'].
  {}
web_server: [source /config/esphome/.base.yaml:40]
  
  This feature is only available with frameworks ['arduino'].
  port: 80
  auth: 
    username: admin
    password: !secret web_server_password
async_tcp: None
  {}
This feature is only available with frameworks ['arduino']

which makes more sense,
captive_portal and web_server
are both part op my base.

packages:
  base: !include .base.yaml

Removing those from base helps. Apparently the interface is not smart enough to pinpoint the correct line while using packages.

Now I have to find out how to enable webserver for idf,
I don’t use captive portal so that’s not a problem

edit:
so found this one