ESPHome 2026.1.4
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 char *name, const char *dump);
16 void log_receive_message_(const LogString *name, const ProtoMessage &msg);
17
18 public:
19#endif
20
21 bool send_message(const ProtoMessage &msg, uint8_t message_type) {
22#ifdef HAS_PROTO_MESSAGE_DUMP
23 DumpBuffer dump_buf;
24 this->log_send_message_(msg.message_name(), msg.dump_to(dump_buf));
25#endif
26 return this->send_message_(msg, message_type);
27 }
28
29 virtual void on_hello_request(const HelloRequest &value){};
30
31 virtual void on_disconnect_request(const DisconnectRequest &value){};
32 virtual void on_disconnect_response(const DisconnectResponse &value){};
33 virtual void on_ping_request(const PingRequest &value){};
34 virtual void on_ping_response(const PingResponse &value){};
35 virtual void on_device_info_request(const DeviceInfoRequest &value){};
36
37 virtual void on_list_entities_request(const ListEntitiesRequest &value){};
38
40
41#ifdef USE_COVER
42 virtual void on_cover_command_request(const CoverCommandRequest &value){};
43#endif
44
45#ifdef USE_FAN
46 virtual void on_fan_command_request(const FanCommandRequest &value){};
47#endif
48
49#ifdef USE_LIGHT
50 virtual void on_light_command_request(const LightCommandRequest &value){};
51#endif
52
53#ifdef USE_SWITCH
54 virtual void on_switch_command_request(const SwitchCommandRequest &value){};
55#endif
56
57 virtual void on_subscribe_logs_request(const SubscribeLogsRequest &value){};
58
59#ifdef USE_API_NOISE
61#endif
62
63#ifdef USE_API_HOMEASSISTANT_SERVICES
65#endif
66
67#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES
69#endif
70#ifdef USE_API_HOMEASSISTANT_STATES
72#endif
73
74#ifdef USE_API_HOMEASSISTANT_STATES
76#endif
77
78 virtual void on_get_time_response(const GetTimeResponse &value){};
79
80#ifdef USE_API_USER_DEFINED_ACTIONS
82#endif
83
84#ifdef USE_CAMERA
85 virtual void on_camera_image_request(const CameraImageRequest &value){};
86#endif
87
88#ifdef USE_CLIMATE
90#endif
91
92#ifdef USE_WATER_HEATER
94#endif
95
96#ifdef USE_NUMBER
97 virtual void on_number_command_request(const NumberCommandRequest &value){};
98#endif
99
100#ifdef USE_SELECT
102#endif
103
104#ifdef USE_SIREN
105 virtual void on_siren_command_request(const SirenCommandRequest &value){};
106#endif
107
108#ifdef USE_LOCK
109 virtual void on_lock_command_request(const LockCommandRequest &value){};
110#endif
111
112#ifdef USE_BUTTON
114#endif
115
116#ifdef USE_MEDIA_PLAYER
118#endif
119#ifdef USE_BLUETOOTH_PROXY
122#endif
123
124#ifdef USE_BLUETOOTH_PROXY
126#endif
127
128#ifdef USE_BLUETOOTH_PROXY
130#endif
131
132#ifdef USE_BLUETOOTH_PROXY
134#endif
135
136#ifdef USE_BLUETOOTH_PROXY
138#endif
139#ifdef USE_BLUETOOTH_PROXY
141#endif
142#ifdef USE_BLUETOOTH_PROXY
144#endif
145#ifdef USE_BLUETOOTH_PROXY
147#endif
148
149#ifdef USE_BLUETOOTH_PROXY
151#endif
152
153#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
172 virtual void on_voice_assistant_audio(const VoiceAssistantAudio &value){};
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
194 virtual void on_text_command_request(const TextCommandRequest &value){};
195#endif
196
197#ifdef USE_DATETIME_DATE
198 virtual void on_date_command_request(const DateCommandRequest &value){};
199#endif
200
201#ifdef USE_DATETIME_TIME
202 virtual void on_time_command_request(const TimeCommandRequest &value){};
203#endif
204
205#ifdef USE_VALVE
206 virtual void on_valve_command_request(const ValveCommandRequest &value){};
207#endif
208
209#ifdef USE_DATETIME_DATETIME
211#endif
212
213#ifdef USE_UPDATE
215#endif
216#ifdef USE_ZWAVE_PROXY
217 virtual void on_z_wave_proxy_frame(const ZWaveProxyFrame &value){};
218#endif
219#ifdef USE_ZWAVE_PROXY
220 virtual void on_z_wave_proxy_request(const ZWaveProxyRequest &value){};
221#endif
222
223#ifdef USE_IR_RF
225#endif
226
227 protected:
228 void read_message(uint32_t msg_size, uint32_t msg_type, const uint8_t *msg_data) override;
229};
230
232 public:
233 virtual bool send_hello_response(const HelloRequest &msg) = 0;
234 virtual bool send_disconnect_response(const DisconnectRequest &msg) = 0;
235 virtual bool send_ping_response(const PingRequest &msg) = 0;
236 virtual bool send_device_info_response(const DeviceInfoRequest &msg) = 0;
237 virtual void list_entities(const ListEntitiesRequest &msg) = 0;
238 virtual void subscribe_states(const SubscribeStatesRequest &msg) = 0;
239 virtual void subscribe_logs(const SubscribeLogsRequest &msg) = 0;
240#ifdef USE_API_HOMEASSISTANT_SERVICES
242#endif
243#ifdef USE_API_HOMEASSISTANT_STATES
245#endif
246#ifdef USE_API_USER_DEFINED_ACTIONS
247 virtual void execute_service(const ExecuteServiceRequest &msg) = 0;
248#endif
249#ifdef USE_API_NOISE
251#endif
252#ifdef USE_BUTTON
253 virtual void button_command(const ButtonCommandRequest &msg) = 0;
254#endif
255#ifdef USE_CAMERA
256 virtual void camera_image(const CameraImageRequest &msg) = 0;
257#endif
258#ifdef USE_CLIMATE
259 virtual void climate_command(const ClimateCommandRequest &msg) = 0;
260#endif
261#ifdef USE_COVER
262 virtual void cover_command(const CoverCommandRequest &msg) = 0;
263#endif
264#ifdef USE_DATETIME_DATE
265 virtual void date_command(const DateCommandRequest &msg) = 0;
266#endif
267#ifdef USE_DATETIME_DATETIME
268 virtual void datetime_command(const DateTimeCommandRequest &msg) = 0;
269#endif
270#ifdef USE_FAN
271 virtual void fan_command(const FanCommandRequest &msg) = 0;
272#endif
273#ifdef USE_LIGHT
274 virtual void light_command(const LightCommandRequest &msg) = 0;
275#endif
276#ifdef USE_LOCK
277 virtual void lock_command(const LockCommandRequest &msg) = 0;
278#endif
279#ifdef USE_MEDIA_PLAYER
281#endif
282#ifdef USE_NUMBER
283 virtual void number_command(const NumberCommandRequest &msg) = 0;
284#endif
285#ifdef USE_SELECT
286 virtual void select_command(const SelectCommandRequest &msg) = 0;
287#endif
288#ifdef USE_SIREN
289 virtual void siren_command(const SirenCommandRequest &msg) = 0;
290#endif
291#ifdef USE_SWITCH
292 virtual void switch_command(const SwitchCommandRequest &msg) = 0;
293#endif
294#ifdef USE_TEXT
295 virtual void text_command(const TextCommandRequest &msg) = 0;
296#endif
297#ifdef USE_DATETIME_TIME
298 virtual void time_command(const TimeCommandRequest &msg) = 0;
299#endif
300#ifdef USE_UPDATE
301 virtual void update_command(const UpdateCommandRequest &msg) = 0;
302#endif
303#ifdef USE_VALVE
304 virtual void valve_command(const ValveCommandRequest &msg) = 0;
305#endif
306#ifdef USE_BLUETOOTH_PROXY
308#endif
309#ifdef USE_BLUETOOTH_PROXY
311#endif
312#ifdef USE_BLUETOOTH_PROXY
314#endif
315#ifdef USE_BLUETOOTH_PROXY
316 virtual void bluetooth_gatt_read(const BluetoothGATTReadRequest &msg) = 0;
317#endif
318#ifdef USE_BLUETOOTH_PROXY
320#endif
321#ifdef USE_BLUETOOTH_PROXY
323#endif
324#ifdef USE_BLUETOOTH_PROXY
326#endif
327#ifdef USE_BLUETOOTH_PROXY
329#endif
330#ifdef USE_BLUETOOTH_PROXY
333#endif
334#ifdef USE_BLUETOOTH_PROXY
336#endif
337#ifdef USE_BLUETOOTH_PROXY
339#endif
340#ifdef USE_VOICE_ASSISTANT
342#endif
343#ifdef USE_VOICE_ASSISTANT
345#endif
346#ifdef USE_VOICE_ASSISTANT
348#endif
349#ifdef USE_ALARM_CONTROL_PANEL
351#endif
352#ifdef USE_ZWAVE_PROXY
353 virtual void zwave_proxy_frame(const ZWaveProxyFrame &msg) = 0;
354#endif
355#ifdef USE_ZWAVE_PROXY
356 virtual void zwave_proxy_request(const ZWaveProxyRequest &msg) = 0;
357#endif
358#ifdef USE_IR_RF
360#endif
361 protected:
362 void on_hello_request(const HelloRequest &msg) override;
363 void on_disconnect_request(const DisconnectRequest &msg) override;
364 void on_ping_request(const PingRequest &msg) override;
365 void on_device_info_request(const DeviceInfoRequest &msg) override;
366 void on_list_entities_request(const ListEntitiesRequest &msg) override;
367 void on_subscribe_states_request(const SubscribeStatesRequest &msg) override;
368 void on_subscribe_logs_request(const SubscribeLogsRequest &msg) override;
369#ifdef USE_API_HOMEASSISTANT_SERVICES
371#endif
372#ifdef USE_API_HOMEASSISTANT_STATES
374#endif
375#ifdef USE_API_USER_DEFINED_ACTIONS
376 void on_execute_service_request(const ExecuteServiceRequest &msg) override;
377#endif
378#ifdef USE_API_NOISE
380#endif
381#ifdef USE_BUTTON
382 void on_button_command_request(const ButtonCommandRequest &msg) override;
383#endif
384#ifdef USE_CAMERA
385 void on_camera_image_request(const CameraImageRequest &msg) override;
386#endif
387#ifdef USE_CLIMATE
388 void on_climate_command_request(const ClimateCommandRequest &msg) override;
389#endif
390#ifdef USE_COVER
391 void on_cover_command_request(const CoverCommandRequest &msg) override;
392#endif
393#ifdef USE_DATETIME_DATE
394 void on_date_command_request(const DateCommandRequest &msg) override;
395#endif
396#ifdef USE_DATETIME_DATETIME
398#endif
399#ifdef USE_FAN
400 void on_fan_command_request(const FanCommandRequest &msg) override;
401#endif
402#ifdef USE_LIGHT
403 void on_light_command_request(const LightCommandRequest &msg) override;
404#endif
405#ifdef USE_LOCK
406 void on_lock_command_request(const LockCommandRequest &msg) override;
407#endif
408#ifdef USE_MEDIA_PLAYER
410#endif
411#ifdef USE_NUMBER
412 void on_number_command_request(const NumberCommandRequest &msg) override;
413#endif
414#ifdef USE_SELECT
415 void on_select_command_request(const SelectCommandRequest &msg) override;
416#endif
417#ifdef USE_SIREN
418 void on_siren_command_request(const SirenCommandRequest &msg) override;
419#endif
420#ifdef USE_SWITCH
421 void on_switch_command_request(const SwitchCommandRequest &msg) override;
422#endif
423#ifdef USE_TEXT
424 void on_text_command_request(const TextCommandRequest &msg) override;
425#endif
426#ifdef USE_DATETIME_TIME
427 void on_time_command_request(const TimeCommandRequest &msg) override;
428#endif
429#ifdef USE_UPDATE
430 void on_update_command_request(const UpdateCommandRequest &msg) override;
431#endif
432#ifdef USE_VALVE
433 void on_valve_command_request(const ValveCommandRequest &msg) override;
434#endif
435#ifdef USE_BLUETOOTH_PROXY
437#endif
438#ifdef USE_BLUETOOTH_PROXY
439 void on_bluetooth_device_request(const BluetoothDeviceRequest &msg) override;
440#endif
441#ifdef USE_BLUETOOTH_PROXY
443#endif
444#ifdef USE_BLUETOOTH_PROXY
446#endif
447#ifdef USE_BLUETOOTH_PROXY
449#endif
450#ifdef USE_BLUETOOTH_PROXY
452#endif
453#ifdef USE_BLUETOOTH_PROXY
455#endif
456#ifdef USE_BLUETOOTH_PROXY
458#endif
459#ifdef USE_BLUETOOTH_PROXY
461#endif
462#ifdef USE_BLUETOOTH_PROXY
465#endif
466#ifdef USE_BLUETOOTH_PROXY
468#endif
469#ifdef USE_VOICE_ASSISTANT
471#endif
472#ifdef USE_VOICE_ASSISTANT
474#endif
475#ifdef USE_VOICE_ASSISTANT
477#endif
478#ifdef USE_ALARM_CONTROL_PANEL
480#endif
481#ifdef USE_ZWAVE_PROXY
482 void on_z_wave_proxy_frame(const ZWaveProxyFrame &msg) override;
483#endif
484#ifdef USE_ZWAVE_PROXY
485 void on_z_wave_proxy_request(const ZWaveProxyRequest &msg) override;
486#endif
487#ifdef USE_IR_RF
489#endif
490 void read_message(uint32_t msg_size, uint32_t msg_type, const uint8_t *msg_data) override;
491};
492
493} // namespace esphome::api
virtual void on_voice_assistant_configuration_request(const VoiceAssistantConfigurationRequest &value)
virtual void on_bluetooth_gatt_get_services_request(const BluetoothGATTGetServicesRequest &value)
virtual void on_alarm_control_panel_command_request(const AlarmControlPanelCommandRequest &value)
virtual void on_siren_command_request(const SirenCommandRequest &value)
virtual void on_hello_request(const HelloRequest &value)
virtual void on_subscribe_home_assistant_states_request(const SubscribeHomeAssistantStatesRequest &value)
virtual void on_bluetooth_gatt_notify_request(const BluetoothGATTNotifyRequest &value)
virtual void on_bluetooth_device_request(const BluetoothDeviceRequest &value)
virtual void on_home_assistant_state_response(const HomeAssistantStateResponse &value)
virtual void on_get_time_response(const GetTimeResponse &value)
void read_message(uint32_t msg_size, uint32_t msg_type, const uint8_t *msg_data) override
virtual void on_homeassistant_action_response(const HomeassistantActionResponse &value)
virtual void on_voice_assistant_set_configuration(const VoiceAssistantSetConfiguration &value)
virtual void on_bluetooth_gatt_read_descriptor_request(const BluetoothGATTReadDescriptorRequest &value)
virtual void on_list_entities_request(const ListEntitiesRequest &value)
virtual void on_noise_encryption_set_key_request(const NoiseEncryptionSetKeyRequest &value)
virtual void on_z_wave_proxy_frame(const ZWaveProxyFrame &value)
bool send_message(const ProtoMessage &msg, uint8_t message_type)
virtual void on_infrared_rf_transmit_raw_timings_request(const InfraredRFTransmitRawTimingsRequest &value)
virtual void on_lock_command_request(const LockCommandRequest &value)
virtual void on_media_player_command_request(const MediaPlayerCommandRequest &value)
virtual void on_water_heater_command_request(const WaterHeaterCommandRequest &value)
virtual void on_bluetooth_gatt_write_request(const BluetoothGATTWriteRequest &value)
virtual void on_subscribe_states_request(const SubscribeStatesRequest &value)
virtual void on_ping_response(const PingResponse &value)
virtual void on_valve_command_request(const ValveCommandRequest &value)
virtual void on_bluetooth_gatt_read_request(const BluetoothGATTReadRequest &value)
virtual void on_disconnect_request(const DisconnectRequest &value)
virtual void on_cover_command_request(const CoverCommandRequest &value)
virtual void on_subscribe_bluetooth_le_advertisements_request(const SubscribeBluetoothLEAdvertisementsRequest &value)
virtual void on_text_command_request(const TextCommandRequest &value)
virtual void on_select_command_request(const SelectCommandRequest &value)
virtual void on_fan_command_request(const FanCommandRequest &value)
virtual void on_camera_image_request(const CameraImageRequest &value)
virtual void on_subscribe_logs_request(const SubscribeLogsRequest &value)
virtual void on_bluetooth_gatt_write_descriptor_request(const BluetoothGATTWriteDescriptorRequest &value)
virtual void on_voice_assistant_audio(const VoiceAssistantAudio &value)
virtual void on_subscribe_voice_assistant_request(const SubscribeVoiceAssistantRequest &value)
virtual void on_voice_assistant_announce_request(const VoiceAssistantAnnounceRequest &value)
virtual void on_climate_command_request(const ClimateCommandRequest &value)
virtual void on_ping_request(const PingRequest &value)
virtual void on_voice_assistant_response(const VoiceAssistantResponse &value)
virtual void on_light_command_request(const LightCommandRequest &value)
virtual void on_subscribe_bluetooth_connections_free_request(const SubscribeBluetoothConnectionsFreeRequest &value)
virtual void on_date_time_command_request(const DateTimeCommandRequest &value)
virtual void on_subscribe_homeassistant_services_request(const SubscribeHomeassistantServicesRequest &value)
virtual void on_switch_command_request(const SwitchCommandRequest &value)
virtual void on_voice_assistant_timer_event_response(const VoiceAssistantTimerEventResponse &value)
virtual void on_button_command_request(const ButtonCommandRequest &value)
virtual void on_voice_assistant_event_response(const VoiceAssistantEventResponse &value)
void log_send_message_(const char *name, const char *dump)
virtual void on_z_wave_proxy_request(const ZWaveProxyRequest &value)
virtual void on_number_command_request(const NumberCommandRequest &value)
virtual void on_execute_service_request(const ExecuteServiceRequest &value)
virtual void on_bluetooth_scanner_set_mode_request(const BluetoothScannerSetModeRequest &value)
virtual void on_date_command_request(const DateCommandRequest &value)
void log_receive_message_(const LogString *name, const ProtoMessage &msg)
virtual void on_unsubscribe_bluetooth_le_advertisements_request(const UnsubscribeBluetoothLEAdvertisementsRequest &value)
virtual void on_update_command_request(const UpdateCommandRequest &value)
virtual void on_disconnect_response(const DisconnectResponse &value)
virtual void on_device_info_request(const DeviceInfoRequest &value)
virtual void on_time_command_request(const TimeCommandRequest &value)
virtual bool send_voice_assistant_get_configuration_response(const VoiceAssistantConfigurationRequest &msg)=0
void on_z_wave_proxy_frame(const ZWaveProxyFrame &msg) override
void on_z_wave_proxy_request(const ZWaveProxyRequest &msg) override
virtual void voice_assistant_set_configuration(const VoiceAssistantSetConfiguration &msg)=0
void on_media_player_command_request(const MediaPlayerCommandRequest &msg) override
void on_subscribe_bluetooth_connections_free_request(const SubscribeBluetoothConnectionsFreeRequest &msg) override
void on_number_command_request(const NumberCommandRequest &msg) override
virtual void lock_command(const LockCommandRequest &msg)=0
virtual void text_command(const TextCommandRequest &msg)=0
void on_ping_request(const PingRequest &msg) override
virtual void subscribe_logs(const SubscribeLogsRequest &msg)=0
void on_subscribe_logs_request(const SubscribeLogsRequest &msg) override
virtual void light_command(const LightCommandRequest &msg)=0
void on_device_info_request(const DeviceInfoRequest &msg) override
void on_camera_image_request(const CameraImageRequest &msg) override
virtual void select_command(const SelectCommandRequest &msg)=0
virtual void unsubscribe_bluetooth_le_advertisements(const UnsubscribeBluetoothLEAdvertisementsRequest &msg)=0
virtual void camera_image(const CameraImageRequest &msg)=0
void on_date_time_command_request(const DateTimeCommandRequest &msg) override
void on_infrared_rf_transmit_raw_timings_request(const InfraredRFTransmitRawTimingsRequest &msg) override
void on_bluetooth_gatt_write_request(const BluetoothGATTWriteRequest &msg) override
void on_update_command_request(const UpdateCommandRequest &msg) override
virtual void valve_command(const ValveCommandRequest &msg)=0
virtual void infrared_rf_transmit_raw_timings(const InfraredRFTransmitRawTimingsRequest &msg)=0
virtual void bluetooth_gatt_get_services(const BluetoothGATTGetServicesRequest &msg)=0
void on_bluetooth_gatt_notify_request(const BluetoothGATTNotifyRequest &msg) override
void on_text_command_request(const TextCommandRequest &msg) override
void on_select_command_request(const SelectCommandRequest &msg) override
virtual void climate_command(const ClimateCommandRequest &msg)=0
virtual void execute_service(const ExecuteServiceRequest &msg)=0
void on_lock_command_request(const LockCommandRequest &msg) override
virtual void zwave_proxy_frame(const ZWaveProxyFrame &msg)=0
void on_execute_service_request(const ExecuteServiceRequest &msg) override
void on_button_command_request(const ButtonCommandRequest &msg) override
virtual void bluetooth_gatt_read_descriptor(const BluetoothGATTReadDescriptorRequest &msg)=0
virtual bool send_noise_encryption_set_key_response(const NoiseEncryptionSetKeyRequest &msg)=0
void on_list_entities_request(const ListEntitiesRequest &msg) override
virtual void bluetooth_device_request(const BluetoothDeviceRequest &msg)=0
virtual bool send_subscribe_bluetooth_connections_free_response(const SubscribeBluetoothConnectionsFreeRequest &msg)=0
virtual void subscribe_home_assistant_states(const SubscribeHomeAssistantStatesRequest &msg)=0
void on_siren_command_request(const SirenCommandRequest &msg) override
virtual void fan_command(const FanCommandRequest &msg)=0
void on_subscribe_home_assistant_states_request(const SubscribeHomeAssistantStatesRequest &msg) override
void on_subscribe_voice_assistant_request(const SubscribeVoiceAssistantRequest &msg) override
void on_hello_request(const HelloRequest &msg) override
void on_climate_command_request(const ClimateCommandRequest &msg) override
virtual void list_entities(const ListEntitiesRequest &msg)=0
void on_subscribe_bluetooth_le_advertisements_request(const SubscribeBluetoothLEAdvertisementsRequest &msg) override
virtual void number_command(const NumberCommandRequest &msg)=0
void on_unsubscribe_bluetooth_le_advertisements_request(const UnsubscribeBluetoothLEAdvertisementsRequest &msg) override
void on_fan_command_request(const FanCommandRequest &msg) override
virtual void bluetooth_gatt_read(const BluetoothGATTReadRequest &msg)=0
void on_subscribe_homeassistant_services_request(const SubscribeHomeassistantServicesRequest &msg) override
virtual void bluetooth_gatt_write(const BluetoothGATTWriteRequest &msg)=0
virtual void button_command(const ButtonCommandRequest &msg)=0
virtual void siren_command(const SirenCommandRequest &msg)=0
virtual void bluetooth_gatt_notify(const BluetoothGATTNotifyRequest &msg)=0
virtual bool send_device_info_response(const DeviceInfoRequest &msg)=0
virtual bool send_ping_response(const PingRequest &msg)=0
void on_alarm_control_panel_command_request(const AlarmControlPanelCommandRequest &msg) override
virtual void time_command(const TimeCommandRequest &msg)=0
virtual void subscribe_voice_assistant(const SubscribeVoiceAssistantRequest &msg)=0
void on_bluetooth_gatt_get_services_request(const BluetoothGATTGetServicesRequest &msg) override
virtual void cover_command(const CoverCommandRequest &msg)=0
virtual void bluetooth_scanner_set_mode(const BluetoothScannerSetModeRequest &msg)=0
virtual void update_command(const UpdateCommandRequest &msg)=0
virtual void subscribe_states(const SubscribeStatesRequest &msg)=0
virtual void switch_command(const SwitchCommandRequest &msg)=0
void on_bluetooth_gatt_read_request(const BluetoothGATTReadRequest &msg) override
virtual void datetime_command(const DateTimeCommandRequest &msg)=0
void on_bluetooth_scanner_set_mode_request(const BluetoothScannerSetModeRequest &msg) override
void on_date_command_request(const DateCommandRequest &msg) override
void on_time_command_request(const TimeCommandRequest &msg) override
virtual void bluetooth_gatt_write_descriptor(const BluetoothGATTWriteDescriptorRequest &msg)=0
virtual void subscribe_homeassistant_services(const SubscribeHomeassistantServicesRequest &msg)=0
void on_disconnect_request(const DisconnectRequest &msg) override
virtual void date_command(const DateCommandRequest &msg)=0
void on_voice_assistant_configuration_request(const VoiceAssistantConfigurationRequest &msg) override
void on_cover_command_request(const CoverCommandRequest &msg) override
void on_valve_command_request(const ValveCommandRequest &msg) override
void on_light_command_request(const LightCommandRequest &msg) override
virtual void alarm_control_panel_command(const AlarmControlPanelCommandRequest &msg)=0
virtual bool send_hello_response(const HelloRequest &msg)=0
virtual void media_player_command(const MediaPlayerCommandRequest &msg)=0
void on_voice_assistant_set_configuration(const VoiceAssistantSetConfiguration &msg) override
void on_bluetooth_device_request(const BluetoothDeviceRequest &msg) override
void on_bluetooth_gatt_read_descriptor_request(const BluetoothGATTReadDescriptorRequest &msg) override
void on_subscribe_states_request(const SubscribeStatesRequest &msg) override
void read_message(uint32_t msg_size, uint32_t msg_type, const uint8_t *msg_data) override
void on_bluetooth_gatt_write_descriptor_request(const BluetoothGATTWriteDescriptorRequest &msg) override
virtual void subscribe_bluetooth_le_advertisements(const SubscribeBluetoothLEAdvertisementsRequest &msg)=0
virtual void zwave_proxy_request(const ZWaveProxyRequest &msg)=0
virtual bool send_disconnect_response(const DisconnectRequest &msg)=0
void on_noise_encryption_set_key_request(const NoiseEncryptionSetKeyRequest &msg) override
void on_switch_command_request(const SwitchCommandRequest &msg) override
Fixed-size buffer for message dumps - avoids heap allocation.
Definition proto.h:371
virtual const char * message_name() const
Definition proto.h:431
virtual const char * dump_to(DumpBuffer &out) const =0
bool send_message_(const ProtoMessage &msg, uint8_t message_type)
Definition proto.h:958