1

fix component API include compile error

This commit is contained in:
2025-07-23 08:11:08 -04:00
parent c3b8e366c7
commit d5cc738a5c
3 changed files with 5 additions and 0 deletions
+2
View File
@@ -2,7 +2,9 @@
#include "esphome/core/component.h"
#include "esphome/components/uart/uart.h"
#ifdef USE_API
#include "esphome/components/api/custom_api_device.h"
#endif
#ifdef USE_LIGHT
#include "esphome/components/light/light_output.h"
#endif