ESPHome 2026.5.0-dev
Loading...
Searching...
No Matches
api_pb2_service.h
Go to the documentation of this file.
1// This file was automatically generated with a tool.
2// See script/api_protobuf/api_protobuf.py
3#pragma once
4
6
7#include "api_pb2.h"
8
9namespace esphome::api {
10
12 public:
13#ifdef HAS_PROTO_MESSAGE_DUMP
14 protected:
15 void log_send_message_(const LogString *name, const char *dump);
16 void log_receive_message_(const LogString *name, const ProtoMessage &msg);
17 void log_receive_message_(const LogString *name);
18
19 public:
20#endif
21
22 void on_hello_request(const HelloRequest &value){};
23
29
31
33
34#ifdef USE_COVER
36#endif
37
38#ifdef USE_FAN
40#endif
41
42#ifdef USE_LIGHT
44#endif
45
46#ifdef USE_SWITCH
48#endif
49
51
52#ifdef USE_API_NOISE
54#endif
55
56#ifdef USE_API_HOMEASSISTANT_SERVICES
58#endif
59
60#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES
62#endif
63#ifdef USE_API_HOMEASSISTANT_STATES
65#endif
66
67#ifdef USE_API_HOMEASSISTANT_STATES
69#endif
70
72
73#ifdef USE_API_USER_DEFINED_ACTIONS
75#endif
76
77#ifdef USE_CAMERA
79#endif
80
81#ifdef USE_CLIMATE
83#endif
84
85#ifdef USE_WATER_HEATER
87#endif
88
89#ifdef USE_NUMBER
91#endif
92
93#ifdef USE_SELECT
95#endif
96
97#ifdef USE_SIREN
99#endif
100
101#ifdef USE_LOCK
103#endif
104
105#ifdef USE_BUTTON
107#endif
108
109#ifdef USE_MEDIA_PLAYER
111#endif
112#ifdef USE_BLUETOOTH_PROXY
114#endif
115
116#ifdef USE_BLUETOOTH_PROXY
118#endif
119
120#ifdef USE_BLUETOOTH_PROXY
122#endif
123
124#ifdef USE_BLUETOOTH_PROXY
126#endif
127
128#ifdef USE_BLUETOOTH_PROXY
130#endif
131#ifdef USE_BLUETOOTH_PROXY
133#endif
134#ifdef USE_BLUETOOTH_PROXY
136#endif
137#ifdef USE_BLUETOOTH_PROXY
139#endif
140
141#ifdef USE_BLUETOOTH_PROXY
143#endif
144
145#ifdef USE_BLUETOOTH_PROXY
147#endif
148
149#ifdef USE_BLUETOOTH_PROXY
151#endif
152#ifdef USE_VOICE_ASSISTANT
154#endif
155
156#ifdef USE_VOICE_ASSISTANT
158#endif
159#ifdef USE_VOICE_ASSISTANT
161#endif
162#ifdef USE_VOICE_ASSISTANT
164#endif
165#ifdef USE_VOICE_ASSISTANT
167#endif
168#ifdef USE_VOICE_ASSISTANT
170#endif
171
172#ifdef USE_VOICE_ASSISTANT
174#endif
175
176#ifdef USE_VOICE_ASSISTANT
178#endif
179
180#ifdef USE_ALARM_CONTROL_PANEL
182#endif
183
184#ifdef USE_TEXT
186#endif
187
188#ifdef USE_DATETIME_DATE
190#endif
191
192#ifdef USE_DATETIME_TIME
194#endif
195
196#ifdef USE_VALVE
198#endif
199
200#ifdef USE_DATETIME_DATETIME
202#endif
203
204#ifdef USE_UPDATE
206#endif
207#ifdef USE_ZWAVE_PROXY
209#endif
210#ifdef USE_ZWAVE_PROXY
212#endif
213
214#ifdef USE_IR_RF
216#endif
217
218#ifdef USE_SERIAL_PROXY
220#endif
221
222#ifdef USE_SERIAL_PROXY
224#endif
225#ifdef USE_SERIAL_PROXY
227#endif
228#ifdef USE_SERIAL_PROXY
230#endif
231
232#ifdef USE_SERIAL_PROXY
234#endif
235
236#ifdef USE_BLUETOOTH_PROXY
238#endif
239};
240
241} // namespace esphome::api
void on_light_command_request(const LightCommandRequest &value)
void on_bluetooth_gatt_read_request(const BluetoothGATTReadRequest &value)
void on_siren_command_request(const SirenCommandRequest &value)
void on_subscribe_logs_request(const SubscribeLogsRequest &value)
void on_serial_proxy_write_request(const SerialProxyWriteRequest &value)
void on_serial_proxy_set_modem_pins_request(const SerialProxySetModemPinsRequest &value)
void on_voice_assistant_event_response(const VoiceAssistantEventResponse &value)
void on_bluetooth_gatt_write_descriptor_request(const BluetoothGATTWriteDescriptorRequest &value)
void on_alarm_control_panel_command_request(const AlarmControlPanelCommandRequest &value)
void on_bluetooth_scanner_set_mode_request(const BluetoothScannerSetModeRequest &value)
void on_water_heater_command_request(const WaterHeaterCommandRequest &value)
void log_send_message_(const LogString *name, const char *dump)
void on_infrared_rf_transmit_raw_timings_request(const InfraredRFTransmitRawTimingsRequest &value)
void on_button_command_request(const ButtonCommandRequest &value)
void on_z_wave_proxy_request(const ZWaveProxyRequest &value)
void on_voice_assistant_announce_request(const VoiceAssistantAnnounceRequest &value)
void on_bluetooth_gatt_get_services_request(const BluetoothGATTGetServicesRequest &value)
void on_voice_assistant_set_configuration(const VoiceAssistantSetConfiguration &value)
void on_select_command_request(const SelectCommandRequest &value)
void on_valve_command_request(const ValveCommandRequest &value)
void on_update_command_request(const UpdateCommandRequest &value)
void on_serial_proxy_request(const SerialProxyRequest &value)
void on_bluetooth_device_request(const BluetoothDeviceRequest &value)
void on_voice_assistant_configuration_request(const VoiceAssistantConfigurationRequest &value)
void on_execute_service_request(const ExecuteServiceRequest &value)
void on_time_command_request(const TimeCommandRequest &value)
void on_date_command_request(const DateCommandRequest &value)
void on_serial_proxy_get_modem_pins_request(const SerialProxyGetModemPinsRequest &value)
void on_homeassistant_action_response(const HomeassistantActionResponse &value)
void on_camera_image_request(const CameraImageRequest &value)
void on_cover_command_request(const CoverCommandRequest &value)
void on_text_command_request(const TextCommandRequest &value)
void on_switch_command_request(const SwitchCommandRequest &value)
void on_z_wave_proxy_frame(const ZWaveProxyFrame &value)
void on_bluetooth_set_connection_params_request(const BluetoothSetConnectionParamsRequest &value)
void on_bluetooth_gatt_read_descriptor_request(const BluetoothGATTReadDescriptorRequest &value)
void on_voice_assistant_timer_event_response(const VoiceAssistantTimerEventResponse &value)
void on_noise_encryption_set_key_request(const NoiseEncryptionSetKeyRequest &value)
void on_voice_assistant_audio(const VoiceAssistantAudio &value)
void on_climate_command_request(const ClimateCommandRequest &value)
void on_voice_assistant_response(const VoiceAssistantResponse &value)
void on_date_time_command_request(const DateTimeCommandRequest &value)
void on_fan_command_request(const FanCommandRequest &value)
void on_subscribe_bluetooth_le_advertisements_request(const SubscribeBluetoothLEAdvertisementsRequest &value)
void on_media_player_command_request(const MediaPlayerCommandRequest &value)
void on_hello_request(const HelloRequest &value)
void on_get_time_response(const GetTimeResponse &value)
void on_bluetooth_gatt_notify_request(const BluetoothGATTNotifyRequest &value)
void on_bluetooth_gatt_write_request(const BluetoothGATTWriteRequest &value)
void on_serial_proxy_configure_request(const SerialProxyConfigureRequest &value)
void log_receive_message_(const LogString *name, const ProtoMessage &msg)
void on_number_command_request(const NumberCommandRequest &value)
void on_subscribe_voice_assistant_request(const SubscribeVoiceAssistantRequest &value)
void on_lock_command_request(const LockCommandRequest &value)
void on_home_assistant_state_response(const HomeAssistantStateResponse &value)