Compilation fails if esphome configuration doesn't include any axp192 binary sensors
I've just upgraded to the latest commit here, and my configuration uses the axp192 platform only for backlight control (so I've updated to the new output-component based configuration).
When I try to compile, I get this:
Compiling .pioenvs/hvac1/src/esphome/components/binary_sensor/automation.cpp.o
src/esphome/components/axp192/axp192_component.cpp:4:10: fatal error: binary_sensor/axp192_binary_sensor.h: No such file or directory
#include "binary_sensor/axp192_binary_sensor.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pioenvs/hvac1/src/esphome/components/axp192/axp192_component.cpp.o] Error 1
Looking in the external_components directory I see the binary_sensor subdirectory is there with the expected contents, but in the build directory for the specific esphome configuration that directory does not exist... so the esphome build system didn't copy it over, apparently.