ESPHome 2026.8.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
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 <vector>
32#include <string>
33
34#if defined(LOG_LEVEL_NONE)
35// Zephyr defines LOG_LEVEL_NONE as a logging macro that collides with the LogLevel enum value of
36// the same name in the generated api_pb2.h. Undefine it for the rest of this translation unit so
37// the enum parses; nothing below needs Zephyr's logging macro.
38#undef LOG_LEVEL_NONE
39#endif
40
41namespace esphome::api {
42
43// This file only provides includes, no actual code
44
45} // namespace esphome::api