Failing to compile external_component example 'empty_light'

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 :frowning_face_with_open_mouth:
Appreciate some help.
Kurt

Thanks to the forum similar topics suggestion I finally found the solution to my problem in minutes.
Turns our esphome expects an empty init.py file in your custom component folder. In my case since I was using the ‘light’ component I had ‘light.py’ but no init.py file. Simply adding an empty init.py file fixed the compilation issue.