Open amueller80 opened 3 years ago
I had the same issue and I belive I found a solution for it.
#include "siemens_im350.h"
at then end of AUTO GENERATED INCLUDE BLOCK of main.cpp. So you can savely delete it.
includes:
- custom_components/siemens_im350/siemens_im350.h
__init__.py
file into component folder /custom_components/siemens_im350
.
Hi Andre,
I used your ESPHome example and when building I get the message src/main.cpp:15:1:error siemens_im350 does not name a type
I do not know if it matters, but the autogenerated main.cpp includes the siemens_im350.h last in the autogenerated header block. , after the definition of *siemens_im350_smartmetersnsorComponent, etc.
Do you have an idea?
Best Regards, Armin