When compiling (Installing) on ESPHome 2021.20.1 I get this error:
Compiling /data/wavin/.pioenvs/wavin/src/esphome/components/wavinAhc9000/wavinAhc9000.cpp.o
Compiling /data/wavin/.pioenvs/wavin/src/esphome/components/web_server_base/web_server_base.cpp.o
src/esphome/components/wavinAhc9000/wavinAhc9000.cpp: In member function 'virtual void esphome::wavinAhc9000::WavinAhc9000::setup()':
src/esphome/components/wavinAhc9000/wavinAhc9000.cpp:27:21: error: 'OUTPUT' was not declared in this scope
rw_pin_->pin_mode(OUTPUT);
^
*** [/data/wavin/.pioenvs/wavin/src/esphome/components/wavinAhc9000/wavinAhc9000.cpp.o] Error 1
When compiling (Installing) on ESPHome 2021.20.1 I get this error: