esphome/components/binary_sensor/binary_sensor.h: No such file or directory
AndreKR opened this issue · 2 comments
AndreKR commented
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:
and it worked.
ESPhome 2023.8.3
danielscheidler commented
but why there should not be an binary_sensor.h?
https://github.com/esphome/esphome/tree/dev/esphome/components/binary_sensor
AndreKR commented
I have no idea.