ESPHome 2026.11.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
26 void on_ping_request() {};
29
31
32#ifdef USE_API_WIZARD
34#endif
35
36#ifdef USE_API_WIZARD_INPUTS
38#endif
40
42
43#ifdef USE_COVER
45#endif
46
47#ifdef USE_FAN
49#endif
50
51#ifdef USE_LIGHT
53#endif
54
55#ifdef USE_SWITCH
57#endif
58
60
61#ifdef USE_API_NOISE
63#endif
64
65#ifdef USE_API_HOMEASSISTANT_SERVICES
67#endif
68
69#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES
71#endif
72#ifdef USE_API_HOMEASSISTANT_STATES
74#endif
75
76#ifdef USE_API_HOMEASSISTANT_STATES
78#endif
79
81
82#ifdef USE_API_USER_DEFINED_ACTIONS
84#endif
85
86#ifdef USE_CAMERA
88#endif
89
90#ifdef USE_CLIMATE
92#endif
93
94#ifdef USE_WATER_HEATER
96#endif
97
98#ifdef USE_NUMBER
100#endif
101
102#ifdef USE_SELECT
104#endif
105
106#ifdef USE_SIREN
108#endif
109
110#ifdef USE_LOCK
112#endif
113
114#ifdef USE_BUTTON
116#endif
117
118#ifdef USE_MEDIA_PLAYER
120#endif
121#ifdef USE_BLUETOOTH_PROXY
123#endif
124
125#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
127#endif
128
129#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
131#endif
132
133#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
135#endif
136
137#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
139#endif
140#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
142#endif
143#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
145#endif
146#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
148#endif
149
150#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
152#endif
153
154#ifdef USE_BLUETOOTH_PROXY
156#endif
157
158#ifdef USE_BLUETOOTH_PROXY
160#endif
161#ifdef USE_VOICE_ASSISTANT
163#endif
164
165#ifdef USE_VOICE_ASSISTANT
167#endif
168#ifdef USE_VOICE_ASSISTANT
170#endif
171#ifdef USE_VOICE_ASSISTANT
173#endif
174#ifdef USE_VOICE_ASSISTANT
176#endif
177#ifdef USE_VOICE_ASSISTANT
179#endif
180
181#ifdef USE_VOICE_ASSISTANT
183#endif
184
185#ifdef USE_VOICE_ASSISTANT
187#endif
188
189#ifdef USE_ALARM_CONTROL_PANEL
191#endif
192
193#ifdef USE_TEXT
195#endif
196
197#ifdef USE_DATETIME_DATE
199#endif
200
201#ifdef USE_DATETIME_TIME
203#endif
204
205#ifdef USE_VALVE
207#endif
208
209#ifdef USE_DATETIME_DATETIME
211#endif
212
213#ifdef USE_UPDATE
215#endif
216#ifdef USE_ZWAVE_PROXY
218#endif
219#ifdef USE_ZWAVE_PROXY
221#endif
222
223#ifdef USE_IR_RF
225#endif
226
227#ifdef USE_SERIAL_PROXY
229#endif
230
231#ifdef USE_SERIAL_PROXY
233#endif
234#ifdef USE_SERIAL_PROXY
236#endif
237#ifdef USE_SERIAL_PROXY
239#endif
240
241#ifdef USE_SERIAL_PROXY
243#endif
244
245#ifdef USE_SERIAL_PROXY
247#endif
248#ifdef USE_SERIAL_PROXY
250#endif
251
252#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
254#endif
255
256#ifdef USE_SENDSPIN
258#endif
259};
260
261} // 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_wizard_input_set_request(const WizardInputSetRequest &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_serial_proxy_set_mode_request(const SerialProxySetModeRequest &value)
void on_water_heater_command_request(const WaterHeaterCommandRequest &value)
void log_send_message_(const LogString *name, const char *dump)
void on_disconnect_request(const DisconnectRequest &value)
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)