Currently a WIP, Reusable config across my ESPHome devices
I prefer using the Command Line to build this firmware.
The ESPHome instructions leave out versioning detail required for compatibility. The included requirements.txt should solve that.
pip3 install -r requirements.txt
cd [projectdir]
esphome \
--substitution mac "$(esptool.py chip_id | grep -m1 "MAC:" | cut -d: -f6- | tr -d ':')" \
--substitution release_id "$(git rev-parse --short=12 HEAD)" \
run main.yaml \
--device /dev/cu.xxx