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

ESPHome Custom Component for Sonoff TX Ultimate
https://smarthomeyourself.de/sonoff-tx-ultimate-mit-esphome-custom-component/
MIT License
87 stars 36 forks source link

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

Closed AndreKR closed 4 months ago

AndreKR commented 10 months ago

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

danielscheidler commented 10 months ago

but why there should not be an binary_sensor.h? https://github.com/esphome/esphome/tree/dev/esphome/components/binary_sensor

AndreKR commented 10 months ago

I have no idea.