SOLVED: Net – I solved compilation issues due to arduino_version.
My original problem emerges from some Gosund SP112 plugs. I had previous examples that I found via the community to show setup to be:
esphome:
name: ${system_name}
platform: ESP8266
#arduino_version: 2.5.1 <---------This was the problem
board: esp01_1m
on_boot:
priority: -10
then:
- switch.turn_off: switch1
- switch.turn_on: switchusb
Upon moving up versions 2021.10.3, my builds no longer worked, and was failing on compile errors. I had falsely kept the arduino_version from previous samples, and when I commented out that call, Esphome downloaded new version of arduino libraries (via Platform.io during compile time).
Just wanted to post above in case anyone else runs into similar.
~Bryan