ESPHome 2026.1.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_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_USER_DEFINED_ACTIONS
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_WATER_HEATER
96#endif
97
98#ifdef USE_NUMBER
99 virtual void on_number_command_request(const NumberCommandRequest &value){};
100#endif
101
102#ifdef USE_SELECT
104#endif
105
106#ifdef USE_SIREN
107 virtual void on_siren_command_request(const SirenCommandRequest &value){};
108#endif
109
110#ifdef USE_LOCK
111 virtual void on_lock_command_request(const LockCommandRequest &value){};
112#endif
113
114#ifdef USE_BUTTON
116#endif
117
118#ifdef USE_MEDIA_PLAYER
120#endif
121#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
138#ifdef USE_BLUETOOTH_PROXY
140#endif
141#ifdef USE_BLUETOOTH_PROXY
143#endif
144#ifdef USE_BLUETOOTH_PROXY
146#endif
147#ifdef USE_BLUETOOTH_PROXY
149#endif
150
151#ifdef USE_BLUETOOTH_PROXY
153#endif
154
155#ifdef USE_BLUETOOTH_PROXY
158#endif
159
160#ifdef USE_BLUETOOTH_PROXY
162#endif
163#ifdef USE_VOICE_ASSISTANT
165#endif
166
167#ifdef USE_VOICE_ASSISTANT
169#endif
170#ifdef USE_VOICE_ASSISTANT
172#endif
173#ifdef USE_VOICE_ASSISTANT
174 virtual void on_voice_assistant_audio(const VoiceAssistantAudio &value){};
175#endif
176#ifdef USE_VOICE_ASSISTANT
178#endif
179#ifdef USE_VOICE_ASSISTANT
181#endif
182
183#ifdef USE_VOICE_ASSISTANT
185#endif
186
187#ifdef USE_VOICE_ASSISTANT
189#endif
190
191#ifdef USE_ALARM_CONTROL_PANEL
193#endif
194
195#ifdef USE_TEXT
196 virtual void on_text_command_request(const TextCommandRequest &value){};
197#endif
198
199#ifdef USE_DATETIME_DATE
200 virtual void on_date_command_request(const DateCommandRequest &value){};
201#endif
202
203#ifdef USE_DATETIME_TIME
204 virtual void on_time_command_request(const TimeCommandRequest &value){};
205#endif
206
207#ifdef USE_VALVE
208 virtual void on_valve_command_request(const ValveCommandRequest &value){};
209#endif
210
211#ifdef USE_DATETIME_DATETIME
213#endif
214
215#ifdef USE_UPDATE
217#endif
218#ifdef USE_ZWAVE_PROXY
219 virtual void on_z_wave_proxy_frame(const ZWaveProxyFrame &value){};
220#endif
221#ifdef USE_ZWAVE_PROXY
222 virtual void on_z_wave_proxy_request(const ZWaveProxyRequest &value){};
223#endif
224 protected:
225 void read_message(uint32_t msg_size, uint32_t msg_type, const uint8_t *msg_data) override;
226};
227
229 public:
230 virtual bool send_hello_response(const HelloRequest &msg) = 0;
231#ifdef USE_API_PASSWORD
233#endif
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 protected:
359 void on_hello_request(const HelloRequest &msg) override;
360#ifdef USE_API_PASSWORD
361 void on_authentication_request(const AuthenticationRequest &msg) override;
362#endif
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 void read_message(uint32_t msg_size, uint32_t msg_type, const uint8_t *msg_data) override;
488};
489
490} // 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_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)
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 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 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
virtual const char * message_name() const
Definition proto.h:357
std::string dump() const
Definition proto.cpp:143
bool send_message_(const ProtoMessage &msg, uint8_t message_type)
Definition proto.h:852