I’m getting the feeling, you’re working with some kind of wrong documentation. I can’t find either of your used
According to the documentation, see here, you can’t use
autoconfig. And for what it’s worth, just try with the basic settings and add things like modes or fan_modes after everything else is working.
Something like this and see what happens:
esphome: name: midea-disimpegno platform: ESP8266 board: d1_mini # Enable logging logger: baud_rate: 0 captive_portal: # Enable Home Assistant API api: ota: password: "flying" wifi: ssid: "foo" password: "bar" # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "Midea-Disimpegno" password: "" # UART settings for Midea dongle (required) uart: tx_pin: 1 rx_pin: 3 baud_rate: 9600 # Optional (if you want modify settings) midea_dongle: strength_icon: true # Main settings climate: - platform: midea_ac name: Condizionatore Disimpegno # Use a unique name. beeper: true # Beep on commands.
If this works, try adding the things you need. Normally all the things that are needed are discovered automatically, so no need to add the
fan_modes. These settings are mostly, if something isn’t working out-of-the-box, but standard users as we all are won’t need these at all.
EDIT: corrected link to documentation