1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-13 15:23:49 +01:00

Add missing ifdef

This commit is contained in:
Jesse Hills
2025-10-07 20:11:43 +13:00
parent 9608d8793c
commit 49b271747d

View File

@@ -7,7 +7,9 @@
#include <utility>
#include <vector>
#include "api_pb2.h"
#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES_JSON
#include "esphome/components/json/json_util.h"
#endif
#include "esphome/core/automation.h"
#include "esphome/core/helpers.h"