SmartHome-yourself/sonoff-tx-ultimate-for-esphome

esphome/components/binary_sensor/binary_sensor.h: No such file or directory

AndreKR opened this issue · 2 comments

I got an error message:

Compiling .pioenvs/txultimate-livingroom-front/src/esphome/components/tx_ultimate_touch/tx_ultimate_touch.cpp.o
In file included from src/esphome/components/tx_ultimate_touch/tx_ultimate_touch.cpp:2:
src/esphome/components/tx_ultimate_touch/tx_ultimate_touch.h:7:10: fatal error: esphome/components/binary_sensor/binary_sensor.h: No such file or directory
 #include "esphome/components/binary_sensor/binary_sensor.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Compiling .pioenvs/txultimate-livingroom-front/src/main.cpp.o
In file included from src/esphome.h:77,
                 from src/main.cpp:3:
src/esphome/components/tx_ultimate_touch/tx_ultimate_touch.h:7:10: fatal error: esphome/components/binary_sensor/binary_sensor.h: No such file or directory
 #include "esphome/components/binary_sensor/binary_sensor.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

I simply commented out the respective line:

image

and it worked.

ESPhome 2023.8.3

I have no idea.