I am trying to update the firmware on my Athom Presence Sensor, but I am getting the error shown. Any ideas how to fix?
INFO ESPHome 2026.1.3
INFO Reading configuration /config/esphome/athom-presence-sensor-d94029.yaml...
WARNING The minimum WiFi authentication mode (wifi -> min_auth_mode) is not set. This controls the weakest encryption your device will accept when connecting to WiFi. Currently defaults to WPA (less secure), but will change to WPA2 (more secure) in 2026.6.0. WPA uses TKIP encryption which has known security vulnerabilities and should be avoided. WPA2 uses AES encryption which is significantly more secure. To silence this warning, explicitly set min_auth_mode under 'wifi:'. If your router supports WPA2 or WPA3, set 'min_auth_mode: WPA2'. If your router only supports WPA, set 'min_auth_mode: WPA'.
INFO Generating C++ source...
INFO Compiling app... Build path: /data/build/athom-presence-sensor
Processing athom-presence-sensor (board: esp8285; framework: arduino; platform: platformio/[email protected])
--------------------------------------------------------------------------------
HARDWARE: ESP8266 80MHz, 80KB RAM, 2MB Flash
ESPHome: Excluding Updater.cpp from build (using native OTA backend)
ESPHome: Excluding core_esp8266_waveform_phase.cpp from build (waveform not required)
ESPHome: Excluding core_esp8266_waveform_pwm.cpp from build (waveform not required)
Dependency Graph
|-- ESPAsyncTCP @ 2.0.0
|-- ESP8266WiFi @ 1.0
|-- ESPAsyncWebServer @ 3.7.10
|-- DNSServer @ 1.1.1
|-- ESP8266mDNS @ 1.2
|-- noise-c @ 0.1.10
|-- Wire @ 1.0
|-- ArduinoJson @ 7.4.2
Compiling .pioenvs/athom-presence-sensor/src/esphome/components/api/api_connection.cpp.o
Compiling .pioenvs/athom-presence-sensor/src/esphome/components/api/api_frame_helper_noise.cpp.o
Compiling .pioenvs/athom-presence-sensor/src/esphome/components/api/api_pb2_service.cpp.o
Compiling .pioenvs/athom-presence-sensor/src/esphome/components/api/api_server.cpp.o
In file included from src/esphome/components/api/api_connection.cpp:4:
src/esphome/components/api/api_frame_helper_noise.h:5:10: fatal error: noise/protocol.h: No such file or directory
5 | #include "noise/protocol.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pioenvs/athom-presence-sensor/src/esphome/components/api/api_connection.cpp.o] Error 1
In file included from src/esphome/components/api/api_frame_helper_noise.cpp:1:
src/esphome/components/api/api_frame_helper_noise.h:5:10: fatal error: noise/protocol.h: No such file or directory
5 | #include "noise/protocol.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pioenvs/athom-presence-sensor/src/esphome/components/api/api_frame_helper_noise.cpp.o] Error 1
========================= [FAILED] Took 14.52 seconds =========================