ESPHome 2026.10.2
Loading...
Searching...
No Matches
api_pb2_includes.h
Go to the documentation of this file.
1#pragma once
2
4
5// This file provides includes needed by the generated protobuf code
6// when using pointer optimizations for component-specific types
7
8#ifdef USE_CLIMATE
11#endif
12
13#ifdef USE_WATER_HEATER
15#endif
16
17#ifdef USE_LIGHT
19#endif
20
21#ifdef USE_FAN
23#endif
24
25#ifdef USE_SELECT
27#endif
28
29// Standard library includes that might be needed
30#include <set>
31#include <span>
32#include <vector>
33#include <string>
34
35#if defined(LOG_LEVEL_NONE)
36// Zephyr defines LOG_LEVEL_NONE as a logging macro that collides with the LogLevel enum value of
37// the same name in the generated api_pb2.h. Undefine it for the rest of this translation unit so
38// the enum parses; nothing below needs Zephyr's logging macro.
39#undef LOG_LEVEL_NONE
40#endif
41
42namespace esphome::api {
43
44// This file only provides includes, no actual code
45
46} // namespace esphome::api