ESPHome 2025.10.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 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_ACTION_RESPONSES
71#endif
72#ifdef USE_API_HOMEASSISTANT_STATES
74#endif
75
76#ifdef USE_API_HOMEASSISTANT_STATES
78#endif
79
80 virtual void on_get_time_response(const GetTimeResponse &value){};
81
82#ifdef USE_API_SERVICES
84#endif
85
86#ifdef USE_CAMERA
87 virtual void on_camera_image_request(const CameraImageRequest &value){};
88#endif
89
90#ifdef USE_CLIMATE
92#endif
93
94#ifdef USE_NUMBER
95 virtual void on_number_command_request(const NumberCommandRequest &value){};
96#endif
97
98#ifdef USE_SELECT
99 virtual void on_select_command_request(const SelectCommandRequest &value){};
100#endif
101
102#ifdef USE_SIREN
103 virtual void on_siren_command_request(const SirenCommandRequest &value){};
104#endif
105
106#ifdef USE_LOCK
107 virtual void on_lock_command_request(const LockCommandRequest &value){};
108#endif
109
110#ifdef USE_BUTTON
112#endif
113
114#ifdef USE_MEDIA_PLAYER
116#endif
117#ifdef USE_BLUETOOTH_PROXY
120#endif
121
122#ifdef USE_BLUETOOTH_PROXY
124#endif
125
126#ifdef USE_BLUETOOTH_PROXY
128#endif
129
130#ifdef USE_BLUETOOTH_PROXY
132#endif
133
134#ifdef USE_BLUETOOTH_PROXY
136#endif
137#ifdef USE_BLUETOOTH_PROXY
139#endif
140#ifdef USE_BLUETOOTH_PROXY
142#endif
143#ifdef USE_BLUETOOTH_PROXY
145#endif
146
147#ifdef USE_BLUETOOTH_PROXY
149#endif
150
151#ifdef USE_BLUETOOTH_PROXY
154#endif
155
156#ifdef USE_BLUETOOTH_PROXY
158#endif
159#ifdef USE_VOICE_ASSISTANT
161#endif
162
163#ifdef USE_VOICE_ASSISTANT
165#endif
166#ifdef USE_VOICE_ASSISTANT
168#endif
169#ifdef USE_VOICE_ASSISTANT
170 virtual void on_voice_assistant_audio(const VoiceAssistantAudio &value){};
171#endif
172#ifdef USE_VOICE_ASSISTANT
174#endif
175#ifdef USE_VOICE_ASSISTANT
177#endif
178
179#ifdef USE_VOICE_ASSISTANT
181#endif
182
183#ifdef USE_VOICE_ASSISTANT
185#endif
186
187#ifdef USE_ALARM_CONTROL_PANEL
189#endif
190
191#ifdef USE_TEXT
192 virtual void on_text_command_request(const TextCommandRequest &value){};
193#endif
194
195#ifdef USE_DATETIME_DATE
196 virtual void on_date_command_request(const DateCommandRequest &value){};
197#endif
198
199#ifdef USE_DATETIME_TIME
200 virtual void on_time_command_request(const TimeCommandRequest &value){};
201#endif
202
203#ifdef USE_VALVE
204 virtual void on_valve_command_request(const ValveCommandRequest &value){};
205#endif
206
207#ifdef USE_DATETIME_DATETIME
209#endif
210
211#ifdef USE_UPDATE
213#endif
214#ifdef USE_ZWAVE_PROXY
215 virtual void on_z_wave_proxy_frame(const ZWaveProxyFrame &value){};
216#endif
217#ifdef USE_ZWAVE_PROXY
218 virtual void on_z_wave_proxy_request(const ZWaveProxyRequest &value){};
219#endif
220 protected:
221 void read_message(uint32_t msg_size, uint32_t msg_type, uint8_t *msg_data) override;
222};
223
225 public:
226 virtual bool send_hello_response(const HelloRequest &msg) = 0;
227#ifdef USE_API_PASSWORD
229#endif
230 virtual bool send_disconnect_response(const DisconnectRequest &msg) = 0;
231 virtual bool send_ping_response(const PingRequest &msg) = 0;
232 virtual bool send_device_info_response(const DeviceInfoRequest &msg) = 0;
233 virtual void list_entities(const ListEntitiesRequest &msg) = 0;
234 virtual void subscribe_states(const SubscribeStatesRequest &msg) = 0;
235 virtual void subscribe_logs(const SubscribeLogsRequest &msg) = 0;
236#ifdef USE_API_HOMEASSISTANT_SERVICES
238#endif
239#ifdef USE_API_HOMEASSISTANT_STATES
241#endif
242#ifdef USE_API_SERVICES
243 virtual void execute_service(const ExecuteServiceRequest &msg) = 0;
244#endif
245#ifdef USE_API_NOISE
247#endif
248#ifdef USE_BUTTON
249 virtual void button_command(const ButtonCommandRequest &msg) = 0;
250#endif
251#ifdef USE_CAMERA
252 virtual void camera_image(const CameraImageRequest &msg) = 0;
253#endif
254#ifdef USE_CLIMATE
255 virtual void climate_command(const ClimateCommandRequest &msg) = 0;
256#endif
257#ifdef USE_COVER
258 virtual void cover_command(const CoverCommandRequest &msg) = 0;
259#endif
260#ifdef USE_DATETIME_DATE
261 virtual void date_command(const DateCommandRequest &msg) = 0;
262#endif
263#ifdef USE_DATETIME_DATETIME
264 virtual void datetime_command(const DateTimeCommandRequest &msg) = 0;
265#endif
266#ifdef USE_FAN
267 virtual void fan_command(const FanCommandRequest &msg) = 0;
268#endif
269#ifdef USE_LIGHT
270 virtual void light_command(const LightCommandRequest &msg) = 0;
271#endif
272#ifdef USE_LOCK
273 virtual void lock_command(const LockCommandRequest &msg) = 0;
274#endif
275#ifdef USE_MEDIA_PLAYER
277#endif
278#ifdef USE_NUMBER
279 virtual void number_command(const NumberCommandRequest &msg) = 0;
280#endif
281#ifdef USE_SELECT
282 virtual void select_command(const SelectCommandRequest &msg) = 0;
283#endif
284#ifdef USE_SIREN
285 virtual void siren_command(const SirenCommandRequest &msg) = 0;
286#endif
287#ifdef USE_SWITCH
288 virtual void switch_command(const SwitchCommandRequest &msg) = 0;
289#endif
290#ifdef USE_TEXT
291 virtual void text_command(const TextCommandRequest &msg) = 0;
292#endif
293#ifdef USE_DATETIME_TIME
294 virtual void time_command(const TimeCommandRequest &msg) = 0;
295#endif
296#ifdef USE_UPDATE
297 virtual void update_command(const UpdateCommandRequest &msg) = 0;
298#endif
299#ifdef USE_VALVE
300 virtual void valve_command(const ValveCommandRequest &msg) = 0;
301#endif
302#ifdef USE_BLUETOOTH_PROXY
304#endif
305#ifdef USE_BLUETOOTH_PROXY
307#endif
308#ifdef USE_BLUETOOTH_PROXY
310#endif
311#ifdef USE_BLUETOOTH_PROXY
312 virtual void bluetooth_gatt_read(const BluetoothGATTReadRequest &msg) = 0;
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
325#endif
326#ifdef USE_BLUETOOTH_PROXY
329#endif
330#ifdef USE_BLUETOOTH_PROXY
332#endif
333#ifdef USE_BLUETOOTH_PROXY
335#endif
336#ifdef USE_VOICE_ASSISTANT
338#endif
339#ifdef USE_VOICE_ASSISTANT
341#endif
342#ifdef USE_VOICE_ASSISTANT
344#endif
345#ifdef USE_ALARM_CONTROL_PANEL
347#endif
348#ifdef USE_ZWAVE_PROXY
349 virtual void zwave_proxy_frame(const ZWaveProxyFrame &msg) = 0;
350#endif
351#ifdef USE_ZWAVE_PROXY
352 virtual void zwave_proxy_request(const ZWaveProxyRequest &msg) = 0;
353#endif
354 protected:
355 void on_hello_request(const HelloRequest &msg) override;
356#ifdef USE_API_PASSWORD
357 void on_authentication_request(const AuthenticationRequest &msg) override;
358#endif
359 void on_disconnect_request(const DisconnectRequest &msg) override;
360 void on_ping_request(const PingRequest &msg) override;
361 void on_device_info_request(const DeviceInfoRequest &msg) override;
362 void on_list_entities_request(const ListEntitiesRequest &msg) override;
363 void on_subscribe_states_request(const SubscribeStatesRequest &msg) override;
364 void on_subscribe_logs_request(const SubscribeLogsRequest &msg) override;
365#ifdef USE_API_HOMEASSISTANT_SERVICES
367#endif
368#ifdef USE_API_HOMEASSISTANT_STATES
370#endif
371#ifdef USE_API_SERVICES
372 void on_execute_service_request(const ExecuteServiceRequest &msg) override;
373#endif
374#ifdef USE_API_NOISE
376#endif
377#ifdef USE_BUTTON
378 void on_button_command_request(const ButtonCommandRequest &msg) override;
379#endif
380#ifdef USE_CAMERA
381 void on_camera_image_request(const CameraImageRequest &msg) override;
382#endif
383#ifdef USE_CLIMATE
384 void on_climate_command_request(const ClimateCommandRequest &msg) override;
385#endif
386#ifdef USE_COVER
387 void on_cover_command_request(const CoverCommandRequest &msg) override;
388#endif
389#ifdef USE_DATETIME_DATE
390 void on_date_command_request(const DateCommandRequest &msg) override;
391#endif
392#ifdef USE_DATETIME_DATETIME
394#endif
395#ifdef USE_FAN
396 void on_fan_command_request(const FanCommandRequest &msg) override;
397#endif
398#ifdef USE_LIGHT
399 void on_light_command_request(const LightCommandRequest &msg) override;
400#endif
401#ifdef USE_LOCK
402 void on_lock_command_request(const LockCommandRequest &msg) override;
403#endif
404#ifdef USE_MEDIA_PLAYER
406#endif
407#ifdef USE_NUMBER
408 void on_number_command_request(const NumberCommandRequest &msg) override;
409#endif
410#ifdef USE_SELECT
411 void on_select_command_request(const SelectCommandRequest &msg) override;
412#endif
413#ifdef USE_SIREN
414 void on_siren_command_request(const SirenCommandRequest &msg) override;
415#endif
416#ifdef USE_SWITCH
417 void on_switch_command_request(const SwitchCommandRequest &msg) override;
418#endif
419#ifdef USE_TEXT
420 void on_text_command_request(const TextCommandRequest &msg) override;
421#endif
422#ifdef USE_DATETIME_TIME
423 void on_time_command_request(const TimeCommandRequest &msg) override;
424#endif
425#ifdef USE_UPDATE
426 void on_update_command_request(const UpdateCommandRequest &msg) override;
427#endif
428#ifdef USE_VALVE
429 void on_valve_command_request(const ValveCommandRequest &msg) override;
430#endif
431#ifdef USE_BLUETOOTH_PROXY
433#endif
434#ifdef USE_BLUETOOTH_PROXY
435 void on_bluetooth_device_request(const BluetoothDeviceRequest &msg) override;
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
457#endif
458#ifdef USE_BLUETOOTH_PROXY
461#endif
462#ifdef USE_BLUETOOTH_PROXY
464#endif
465#ifdef USE_VOICE_ASSISTANT
467#endif
468#ifdef USE_VOICE_ASSISTANT
470#endif
471#ifdef USE_VOICE_ASSISTANT
473#endif
474#ifdef USE_ALARM_CONTROL_PANEL
476#endif
477#ifdef USE_ZWAVE_PROXY
478 void on_z_wave_proxy_frame(const ZWaveProxyFrame &msg) override;
479#endif
480#ifdef USE_ZWAVE_PROXY
481 void on_z_wave_proxy_request(const ZWaveProxyRequest &msg) override;
482#endif
483 void read_message(uint32_t msg_size, uint32_t msg_type, uint8_t *msg_data) override;
484};
485
486} // 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_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_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