ESPHome: DIY Irrigation Controller With Internal Scheduler

Apologies, that was from my test instance, here is the same compile,

Compiling /data/besproeing/.pioenvs/besproeing/lib823/WiFi/WiFiGeneric.cpp.o
/config/esphome/besproeing.yaml: In function 'void setup()':
/config/esphome/besproeing.yaml:652:41: error: 'lambda' was not declared in this scope
/config/esphome/besproeing.yaml:652:96: error: expected primary-expression before ')' token
/config/esphome/besproeing.yaml:306:50: error: expected ')' before 'return'
/config/esphome/besproeing.yaml:306:98: error: expected primary-expression before ')' token
/config/esphome/besproeing.yaml:343:50: error: expected ')' before 'return'
/config/esphome/besproeing.yaml:343:98: error: expected primary-expression before ')' token
/config/esphome/besproeing.yaml:379:50: error: expected ')' before 'return'
/config/esphome/besproeing.yaml:379:98: error: expected primary-expression before ')' token
Compiling /data/besproeing/.pioenvs/besproeing/lib823/WiFi/WiFiMulti.cpp.o
Compiling /data/besproeing/.pioenvs/besproeing/lib823/WiFi/WiFiSTA.cpp.o
*** [/data/besproeing/.pioenvs/besproeing/src/main.cpp.o] Error 1

Issue solved by replacing yaml file from backup. Not sure what caused the issue, but I am relieved that it is compiling again.

1 Like