ESPHome 2026.8.0b4
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
35
36#ifdef USE_COVER
38#endif
39
40#ifdef USE_FAN
42#endif
43
44#ifdef USE_LIGHT
46#endif
47
48#ifdef USE_SWITCH
50#endif
51
53
54#ifdef USE_API_NOISE
56#endif
57
58#ifdef USE_API_HOMEASSISTANT_SERVICES
60#endif
61
62#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES
64#endif
65#ifdef USE_API_HOMEASSISTANT_STATES
67#endif
68
69#ifdef USE_API_HOMEASSISTANT_STATES
71#endif
72
74
75#ifdef USE_API_USER_DEFINED_ACTIONS
77#endif
78
79#ifdef USE_CAMERA
81#endif
82
83#ifdef USE_CLIMATE
85#endif
86
87#ifdef USE_WATER_HEATER
89#endif
90
91#ifdef USE_NUMBER
93#endif
94
95#ifdef USE_SELECT
97#endif
98
99#ifdef USE_SIREN
101#endif
102
103#ifdef USE_LOCK
105#endif
106
107#ifdef USE_BUTTON
109#endif
110
111#ifdef USE_MEDIA_PLAYER
113#endif
114#ifdef USE_BLUETOOTH_PROXY
116#endif
117
118#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
120#endif
121
122#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
124#endif
125
126#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
128#endif
129
130#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
132#endif
133#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
135#endif
136#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
138#endif
139#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
141#endif
142
143#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
145#endif
146
147#ifdef USE_BLUETOOTH_PROXY
149#endif
150
151#ifdef USE_BLUETOOTH_PROXY
153#endif
154#ifdef USE_VOICE_ASSISTANT
156#endif
157
158#ifdef USE_VOICE_ASSISTANT
160#endif
161#ifdef USE_VOICE_ASSISTANT
163#endif
164#ifdef USE_VOICE_ASSISTANT
166#endif
167#ifdef USE_VOICE_ASSISTANT
169#endif
170#ifdef USE_VOICE_ASSISTANT
172#endif
173
174#ifdef USE_VOICE_ASSISTANT
176#endif
177
178#ifdef USE_VOICE_ASSISTANT
180#endif
181
182#ifdef USE_ALARM_CONTROL_PANEL
184#endif
185
186#ifdef USE_TEXT
188#endif
189
190#ifdef USE_DATETIME_DATE
192#endif
193
194#ifdef USE_DATETIME_TIME
196#endif
197
198#ifdef USE_VALVE
200#endif
201
202#ifdef USE_DATETIME_DATETIME
204#endif
205
206#ifdef USE_UPDATE
208#endif
209#ifdef USE_ZWAVE_PROXY
211#endif
212#ifdef USE_ZWAVE_PROXY
214#endif
215
216#if defined(USE_IR_RF) || defined(USE_RADIO_FREQUENCY)
218#endif
219
220#ifdef USE_SERIAL_PROXY
222#endif
223
224#ifdef USE_SERIAL_PROXY
226#endif
227#ifdef USE_SERIAL_PROXY
229#endif
230#ifdef USE_SERIAL_PROXY
232#endif
233
234#ifdef USE_SERIAL_PROXY
236#endif
237
238#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
240#endif
241};
242
243} // 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_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)