ESPHome 2026.11.0-dev
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
20#endif
21
22#ifdef USE_FAN
24#endif
25
26#ifdef USE_SELECT
28#endif
29
30// Standard library includes that might be needed
31#include <set>
32#include <span>
33#include <vector>
34#include <string>
35
36#if defined(LOG_LEVEL_NONE)
37// Zephyr defines LOG_LEVEL_NONE as a logging macro that collides with the LogLevel enum value of
38// the same name in the generated api_pb2.h. Undefine it for the rest of this translation unit so
39// the enum parses; nothing below needs Zephyr's logging macro.
40#undef LOG_LEVEL_NONE
41#endif
42
43namespace esphome::api {
44
45// This file only provides includes, no actual code
46
47} // namespace esphome::api