I bought an Athom switch that came with ESPHome already installed. It powered up in AP mode and I provided my WiFi credentials, and minutes later Home Assistant discovered the switch.
I downloaded the YAML file from the manufacturer and compiled it into a bin file. Now, how do I flash this to the ESP inside the Athom switch? Do I need to take it apart to attach a UART or is there a way to upload OTA that escapes me right now?
I ended up flashing the ESPHome devices to Tasmota, as it provided more in-built options for naming and things like that. ie, i did not have to compile my own binary to flash. I just take the standard binary from tasmota, upload it and all the config is saved on the device itself.