ESPHome 2025.10.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 char *name, const std::string &dump);
16
17 public:
18#endif
19
20 bool send_message(const ProtoMessage &msg, uint8_t message_type) {
21#ifdef HAS_PROTO_MESSAGE_DUMP
22 this->log_send_message_(msg.message_name(), msg.dump());
23#endif
24 return this->send_message_(msg, message_type);
25 }
26
27 virtual void on_hello_request(const HelloRequest &value){};
28
29#ifdef USE_API_PASSWORD
31#endif
32
33 virtual void on_disconnect_request(const DisconnectRequest &value){};
34 virtual void on_disconnect_response(const DisconnectResponse &value){};
35 virtual void on_ping_request(const PingRequest &value){};
36 virtual void on_ping_response(const PingResponse &value){};
37 virtual void on_device_info_request(const DeviceInfoRequest &value){};
38
39 virtual void on_list_entities_request(const ListEntitiesRequest &value){};
40
42
43#ifdef USE_COVER
44 virtual void on_cover_command_request(const CoverCommandRequest &value){};
45#endif
46
47#ifdef USE_FAN
48 virtual void on_fan_command_request(const FanCommandRequest &value){};
49#endif
50
51#ifdef USE_LIGHT
52 virtual void on_light_command_request(const LightCommandRequest &value){};
53#endif
54
55#ifdef USE_SWITCH
56 virtual void on_switch_command_request(const SwitchCommandRequest &value){};
57#endif
58
59 virtual void on_subscribe_logs_request(const SubscribeLogsRequest &value){};
60
61#ifdef USE_API_NOISE
63#endif
64
65#ifdef USE_API_HOMEASSISTANT_SERVICES
67#endif
68
69#ifdef USE_API_HOMEASSISTANT_STATES
71#endif
72
73#ifdef USE_API_HOMEASSISTANT_STATES
75#endif
76
77 virtual void on_get_time_response(const GetTimeResponse &value){};
78
79#ifdef USE_API_SERVICES
81#endif
82
83#ifdef USE_CAMERA
84 virtual void on_camera_image_request(const CameraImageRequest &value){};
85#endif
86
87#ifdef USE_CLIMATE
89#endif
90
91#ifdef USE_NUMBER
92 virtual void on_number_command_request(const NumberCommandRequest &value){};
93#endif
94
95#ifdef USE_SELECT
96 virtual void on_select_command_request(const SelectCommandRequest &value){};
97#endif
98
99#ifdef USE_SIREN
100 virtual void on_siren_command_request(const SirenCommandRequest &value){};
101#endif
102
103#ifdef USE_LOCK
104 virtual void on_lock_command_request(const LockCommandRequest &value){};
105#endif
106
107#ifdef USE_BUTTON
109#endif
110
111#ifdef USE_MEDIA_PLAYER
113#endif
114#ifdef USE_BLUETOOTH_PROXY
117#endif
118
119#ifdef USE_BLUETOOTH_PROXY
121#endif
122
123#ifdef USE_BLUETOOTH_PROXY
125#endif
126
127#ifdef USE_BLUETOOTH_PROXY
129#endif
130
131#ifdef USE_BLUETOOTH_PROXY
133#endif
134#ifdef USE_BLUETOOTH_PROXY
136#endif
137#ifdef USE_BLUETOOTH_PROXY
139#endif
140#ifdef USE_BLUETOOTH_PROXY
142#endif
143
144#ifdef USE_BLUETOOTH_PROXY
146#endif
147
148#ifdef USE_BLUETOOTH_PROXY
151#endif
152
153#ifdef USE_BLUETOOTH_PROXY
155#endif
156#ifdef USE_VOICE_ASSISTANT
158#endif
159
160#ifdef USE_VOICE_ASSISTANT
162#endif
163#ifdef USE_VOICE_ASSISTANT
165#endif
166#ifdef USE_VOICE_ASSISTANT
167 virtual void on_voice_assistant_audio(const VoiceAssistantAudio &value){};
168#endif
169#ifdef USE_VOICE_ASSISTANT
171#endif
172#ifdef USE_VOICE_ASSISTANT
174#endif
175
176#ifdef USE_VOICE_ASSISTANT
178#endif
179
180#ifdef USE_VOICE_ASSISTANT
182#endif
183
184#ifdef USE_ALARM_CONTROL_PANEL
186#endif
187
188#ifdef USE_TEXT
189 virtual void on_text_command_request(const TextCommandRequest &value){};
190#endif
191
192#ifdef USE_DATETIME_DATE
193 virtual void on_date_command_request(const DateCommandRequest &value){};
194#endif
195
196#ifdef USE_DATETIME_TIME
197 virtual void on_time_command_request(const TimeCommandRequest &value){};
198#endif
199
200#ifdef USE_VALVE
201 virtual void on_valve_command_request(const ValveCommandRequest &value){};
202#endif
203
204#ifdef USE_DATETIME_DATETIME
206#endif
207
208#ifdef USE_UPDATE
210#endif
211#ifdef USE_ZWAVE_PROXY
212 virtual void on_z_wave_proxy_frame(const ZWaveProxyFrame &value){};
213#endif
214#ifdef USE_ZWAVE_PROXY
215 virtual void on_z_wave_proxy_request(const ZWaveProxyRequest &value){};
216#endif
217 protected:
218 void read_message(uint32_t msg_size, uint32_t msg_type, uint8_t *msg_data) override;
219};
220
222 public:
223 virtual bool send_hello_response(const HelloRequest &msg) = 0;
224#ifdef USE_API_PASSWORD
226#endif
227 virtual bool send_disconnect_response(const DisconnectRequest &msg) = 0;
228 virtual bool send_ping_response(const PingRequest &msg) = 0;
229 virtual bool send_device_info_response(const DeviceInfoRequest &msg) = 0;
230 virtual void list_entities(const ListEntitiesRequest &msg) = 0;
231 virtual void subscribe_states(const SubscribeStatesRequest &msg) = 0;
232 virtual void subscribe_logs(const SubscribeLogsRequest &msg) = 0;
233#ifdef USE_API_HOMEASSISTANT_SERVICES
235#endif
236#ifdef USE_API_HOMEASSISTANT_STATES
238#endif
239#ifdef USE_API_SERVICES
240 virtual void execute_service(const ExecuteServiceRequest &msg) = 0;
241#endif
242#ifdef USE_API_NOISE
244#endif
245#ifdef USE_BUTTON
246 virtual void button_command(const ButtonCommandRequest &msg) = 0;
247#endif
248#ifdef USE_CAMERA
249 virtual void camera_image(const CameraImageRequest &msg) = 0;
250#endif
251#ifdef USE_CLIMATE
252 virtual void climate_command(const ClimateCommandRequest &msg) = 0;
253#endif
254#ifdef USE_COVER
255 virtual void cover_command(const CoverCommandRequest &msg) = 0;
256#endif
257#ifdef USE_DATETIME_DATE
258 virtual void date_command(const DateCommandRequest &msg) = 0;
259#endif
260#ifdef USE_DATETIME_DATETIME
261 virtual void datetime_command(const DateTimeCommandRequest &msg) = 0;
262#endif
263#ifdef USE_FAN
264 virtual void fan_command(const FanCommandRequest &msg) = 0;
265#endif
266#ifdef USE_LIGHT
267 virtual void light_command(const LightCommandRequest &msg) = 0;
268#endif
269#ifdef USE_LOCK
270 virtual void lock_command(const LockCommandRequest &msg) = 0;
271#endif
272#ifdef USE_MEDIA_PLAYER
274#endif
275#ifdef USE_NUMBER
276 virtual void number_command(const NumberCommandRequest &msg) = 0;
277#endif
278#ifdef USE_SELECT
279 virtual void select_command(const SelectCommandRequest &msg) = 0;
280#endif
281#ifdef USE_SIREN
282 virtual void siren_command(const SirenCommandRequest &msg) = 0;
283#endif
284#ifdef USE_SWITCH
285 virtual void switch_command(const SwitchCommandRequest &msg) = 0;
286#endif
287#ifdef USE_TEXT
288 virtual void text_command(const TextCommandRequest &msg) = 0;
289#endif
290#ifdef USE_DATETIME_TIME
291 virtual void time_command(const TimeCommandRequest &msg) = 0;
292#endif
293#ifdef USE_UPDATE
294 virtual void update_command(const UpdateCommandRequest &msg) = 0;
295#endif
296#ifdef USE_VALVE
297 virtual void valve_command(const ValveCommandRequest &msg) = 0;
298#endif
299#ifdef USE_BLUETOOTH_PROXY
301#endif
302#ifdef USE_BLUETOOTH_PROXY
304#endif
305#ifdef USE_BLUETOOTH_PROXY
307#endif
308#ifdef USE_BLUETOOTH_PROXY
309 virtual void bluetooth_gatt_read(const BluetoothGATTReadRequest &msg) = 0;
310#endif
311#ifdef USE_BLUETOOTH_PROXY
313#endif
314#ifdef USE_BLUETOOTH_PROXY
316#endif
317#ifdef USE_BLUETOOTH_PROXY
319#endif
320#ifdef USE_BLUETOOTH_PROXY
322#endif
323#ifdef USE_BLUETOOTH_PROXY
326#endif
327#ifdef USE_BLUETOOTH_PROXY
329#endif
330#ifdef USE_BLUETOOTH_PROXY
332#endif
333#ifdef USE_VOICE_ASSISTANT
335#endif
336#ifdef USE_VOICE_ASSISTANT
338#endif
339#ifdef USE_VOICE_ASSISTANT
341#endif
342#ifdef USE_ALARM_CONTROL_PANEL
344#endif
345#ifdef USE_ZWAVE_PROXY
346 virtual void zwave_proxy_frame(const ZWaveProxyFrame &msg) = 0;
347#endif
348#ifdef USE_ZWAVE_PROXY
349 virtual void zwave_proxy_request(const ZWaveProxyRequest &msg) = 0;
350#endif
351 protected:
352 void on_hello_request(const HelloRequest &msg) override;
353#ifdef USE_API_PASSWORD
354 void on_authentication_request(const AuthenticationRequest &msg) override;
355#endif
356 void on_disconnect_request(const DisconnectRequest &msg) override;
357 void on_ping_request(const PingRequest &msg) override;
358 void on_device_info_request(const DeviceInfoRequest &msg) override;
359 void on_list_entities_request(const ListEntitiesRequest &msg) override;
360 void on_subscribe_states_request(const SubscribeStatesRequest &msg) override;
361 void on_subscribe_logs_request(const SubscribeLogsRequest &msg) override;
362#ifdef USE_API_HOMEASSISTANT_SERVICES
364#endif
365#ifdef USE_API_HOMEASSISTANT_STATES
367#endif
368#ifdef USE_API_SERVICES
369 void on_execute_service_request(const ExecuteServiceRequest &msg) override;
370#endif
371#ifdef USE_API_NOISE
373#endif
374#ifdef USE_BUTTON
375 void on_button_command_request(const ButtonCommandRequest &msg) override;
376#endif
377#ifdef USE_CAMERA
378 void on_camera_image_request(const CameraImageRequest &msg) override;
379#endif
380#ifdef USE_CLIMATE
381 void on_climate_command_request(const ClimateCommandRequest &msg) override;
382#endif
383#ifdef USE_COVER
384 void on_cover_command_request(const CoverCommandRequest &msg) override;
385#endif
386#ifdef USE_DATETIME_DATE
387 void on_date_command_request(const DateCommandRequest &msg) override;
388#endif
389#ifdef USE_DATETIME_DATETIME
391#endif
392#ifdef USE_FAN
393 void on_fan_command_request(const FanCommandRequest &msg) override;
394#endif
395#ifdef USE_LIGHT
396 void on_light_command_request(const LightCommandRequest &msg) override;
397#endif
398#ifdef USE_LOCK
399 void on_lock_command_request(const LockCommandRequest &msg) override;
400#endif
401#ifdef USE_MEDIA_PLAYER
403#endif
404#ifdef USE_NUMBER
405 void on_number_command_request(const NumberCommandRequest &msg) override;
406#endif
407#ifdef USE_SELECT
408 void on_select_command_request(const SelectCommandRequest &msg) override;
409#endif
410#ifdef USE_SIREN
411 void on_siren_command_request(const SirenCommandRequest &msg) override;
412#endif
413#ifdef USE_SWITCH
414 void on_switch_command_request(const SwitchCommandRequest &msg) override;
415#endif
416#ifdef USE_TEXT
417 void on_text_command_request(const TextCommandRequest &msg) override;
418#endif
419#ifdef USE_DATETIME_TIME
420 void on_time_command_request(const TimeCommandRequest &msg) override;
421#endif
422#ifdef USE_UPDATE
423 void on_update_command_request(const UpdateCommandRequest &msg) override;
424#endif
425#ifdef USE_VALVE
426 void on_valve_command_request(const ValveCommandRequest &msg) override;
427#endif
428#ifdef USE_BLUETOOTH_PROXY
430#endif
431#ifdef USE_BLUETOOTH_PROXY
432 void on_bluetooth_device_request(const BluetoothDeviceRequest &msg) override;
433#endif
434#ifdef USE_BLUETOOTH_PROXY
436#endif
437#ifdef USE_BLUETOOTH_PROXY
439#endif
440#ifdef USE_BLUETOOTH_PROXY
442#endif
443#ifdef USE_BLUETOOTH_PROXY
445#endif
446#ifdef USE_BLUETOOTH_PROXY
448#endif
449#ifdef USE_BLUETOOTH_PROXY
451#endif
452#ifdef USE_BLUETOOTH_PROXY
454#endif
455#ifdef USE_BLUETOOTH_PROXY
458#endif
459#ifdef USE_BLUETOOTH_PROXY
461#endif
462#ifdef USE_VOICE_ASSISTANT
464#endif
465#ifdef USE_VOICE_ASSISTANT
467#endif
468#ifdef USE_VOICE_ASSISTANT
470#endif
471#ifdef USE_ALARM_CONTROL_PANEL
473#endif
474#ifdef USE_ZWAVE_PROXY
475 void on_z_wave_proxy_frame(const ZWaveProxyFrame &msg) override;
476#endif
477#ifdef USE_ZWAVE_PROXY
478 void on_z_wave_proxy_request(const ZWaveProxyRequest &msg) override;
479#endif
480 void read_message(uint32_t msg_size, uint32_t msg_type, uint8_t *msg_data) override;
481};
482
483} // namespace esphome::api
virtual void on_voice_assistant_configuration_request(const VoiceAssistantConfigurationRequest &value)
virtual void on_bluetooth_gatt_get_services_request(const BluetoothGATTGetServicesRequest &value)
void read_message(uint32_t msg_size, uint32_t msg_type, uint8_t *msg_data) override
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)
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_lock_command_request(const LockCommandRequest &value)
virtual void on_media_player_command_request(const MediaPlayerCommandRequest &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)
void log_send_message_(const char *name, const std::string &dump)
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)
virtual void on_z_wave_proxy_request(const ZWaveProxyRequest &value)
virtual void on_number_command_request(const NumberCommandRequest &value)
virtual void on_authentication_request(const AuthenticationRequest &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)
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_authenticate_response(const AuthenticationRequest &msg)=0
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 read_message(uint32_t msg_size, uint32_t msg_type, uint8_t *msg_data) 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 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 on_authentication_request(const AuthenticationRequest &msg) 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
virtual const char * message_name() const
Definition proto.h:350
std::string dump() const
Definition proto.cpp:80
bool send_message_(const ProtoMessage &msg, uint8_t message_type)
Definition proto.h:818