dentra / esphome-ewh

Control Electrolux Water Heater via uart
MIT License
25 stars 8 forks source link

Firmware compiling error #4

Closed creasoftua closed 1 year ago

creasoftua commented 1 year ago

There is an error when compiling .bin from YAML config in ESPHome


Compiling /data/zanussi-artendo-pro/.pioenvs/zanussi-artendo-pro/src/esphome/components/ewh/climate/ewh_climate.cpp.o In file included from src/esphome/components/ewh/climate/ewh_climate.h:10, from src/esphome/components/ewh/climate/ewh_climate.cpp:3: src/esphome/components/ewh/climate/../ewh_component.h:5:10: fatal error: esphome/components/text_sensor/text_sensor.h: No such file or directory 5 | #include "esphome/components/text_sensor/text_sensor.h" | ^~~~~~~~~~ compilation terminated. *** [/data/zanussi-artendo-pro/.pioenvs/zanussi-artendo-pro/src/esphome/components/ewh/climate/ewh_climate.cpp.o] Error 1


creasoftua commented 1 year ago

Uncommenting string "clock: github://dentra/esphome-ewh/ewh-pkg-clock.yaml@$ewh_version" in ewh.yaml resolved this issue

dentra commented 1 year ago

Yes, you can uncomment clock/timer or just add any template text_sensor with internal=true