Can somebody help me getting the ‘empty_light’ external component example to compile?
I get error:
src/main.cpp:18:1: error: 'empty_light' does not name a type; did you mean '_daylight'?
empty_light::EmptyLightOutput *empty_light_emptylightoutput;
^~~~~~~~~~~
_daylight
src/main.cpp: In function 'void setup()':
src/main.cpp:156:3: error: 'empty_light_emptylightoutput' was not declared in this scope
empty_light_emptylightoutput = new empty_light::EmptyLightOutput();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/main.cpp:156:38: error: 'empty_light' does not name a type; did you mean '_daylight'?
empty_light_emptylightoutput = new empty_light::EmptyLightOutput();
^~~~~~~~~~~
_daylight
This example is a copy of https://github.com/thegroove/esphome-custom-component-examples
I’ve uploaded my (failing) code to https://github.com/KurtH75/esphometest
I’ve been trying to get this issue resolved for weeks now and have tried many things … external_component ‘empty_component’ from the examples I can compile but I fail to compile the empty_light one
… can’t figure it out
Appreciate some help.
Kurt