ESPHome 2025.5.0
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
5#include "api_pb2.h"
7
8namespace esphome {
9namespace api {
10
12 public:
13 virtual void on_hello_request(const HelloRequest &value){};
14 bool send_hello_response(const HelloResponse &msg);
15 virtual void on_connect_request(const ConnectRequest &value){};
18 virtual void on_disconnect_request(const DisconnectRequest &value){};
20 virtual void on_disconnect_response(const DisconnectResponse &value){};
21 bool send_ping_request(const PingRequest &msg);
22 virtual void on_ping_request(const PingRequest &value){};
23 bool send_ping_response(const PingResponse &msg);
24 virtual void on_ping_response(const PingResponse &value){};
25 virtual void on_device_info_request(const DeviceInfoRequest &value){};
27 virtual void on_list_entities_request(const ListEntitiesRequest &value){};
30#ifdef USE_BINARY_SENSOR
32#endif
33#ifdef USE_BINARY_SENSOR
35#endif
36#ifdef USE_COVER
38#endif
39#ifdef USE_COVER
41#endif
42#ifdef USE_COVER
43 virtual void on_cover_command_request(const CoverCommandRequest &value){};
44#endif
45#ifdef USE_FAN
47#endif
48#ifdef USE_FAN
50#endif
51#ifdef USE_FAN
52 virtual void on_fan_command_request(const FanCommandRequest &value){};
53#endif
54#ifdef USE_LIGHT
56#endif
57#ifdef USE_LIGHT
59#endif
60#ifdef USE_LIGHT
61 virtual void on_light_command_request(const LightCommandRequest &value){};
62#endif
63#ifdef USE_SENSOR
65#endif
66#ifdef USE_SENSOR
68#endif
69#ifdef USE_SWITCH
71#endif
72#ifdef USE_SWITCH
74#endif
75#ifdef USE_SWITCH
76 virtual void on_switch_command_request(const SwitchCommandRequest &value){};
77#endif
78#ifdef USE_TEXT_SENSOR
80#endif
81#ifdef USE_TEXT_SENSOR
83#endif
84 virtual void on_subscribe_logs_request(const SubscribeLogsRequest &value){};
86#ifdef USE_API_NOISE
88#endif
89#ifdef USE_API_NOISE
91#endif
98 virtual void on_get_time_request(const GetTimeRequest &value){};
100 virtual void on_get_time_response(const GetTimeResponse &value){};
103#ifdef USE_ESP32_CAMERA
105#endif
106#ifdef USE_ESP32_CAMERA
108#endif
109#ifdef USE_ESP32_CAMERA
110 virtual void on_camera_image_request(const CameraImageRequest &value){};
111#endif
112#ifdef USE_CLIMATE
114#endif
115#ifdef USE_CLIMATE
117#endif
118#ifdef USE_CLIMATE
120#endif
121#ifdef USE_NUMBER
123#endif
124#ifdef USE_NUMBER
126#endif
127#ifdef USE_NUMBER
129#endif
130#ifdef USE_SELECT
132#endif
133#ifdef USE_SELECT
135#endif
136#ifdef USE_SELECT
138#endif
139#ifdef USE_SIREN
141#endif
142#ifdef USE_SIREN
144#endif
145#ifdef USE_SIREN
146 virtual void on_siren_command_request(const SirenCommandRequest &value){};
147#endif
148#ifdef USE_LOCK
150#endif
151#ifdef USE_LOCK
153#endif
154#ifdef USE_LOCK
155 virtual void on_lock_command_request(const LockCommandRequest &value){};
156#endif
157#ifdef USE_BUTTON
159#endif
160#ifdef USE_BUTTON
162#endif
163#ifdef USE_MEDIA_PLAYER
165#endif
166#ifdef USE_MEDIA_PLAYER
168#endif
169#ifdef USE_MEDIA_PLAYER
171#endif
172#ifdef USE_BLUETOOTH_PROXY
175#endif
176#ifdef USE_BLUETOOTH_PROXY
178#endif
179#ifdef USE_BLUETOOTH_PROXY
181#endif
182#ifdef USE_BLUETOOTH_PROXY
184#endif
185#ifdef USE_BLUETOOTH_PROXY
187#endif
188#ifdef USE_BLUETOOTH_PROXY
190#endif
191#ifdef USE_BLUETOOTH_PROXY
193#endif
194#ifdef USE_BLUETOOTH_PROXY
196#endif
197#ifdef USE_BLUETOOTH_PROXY
199#endif
200#ifdef USE_BLUETOOTH_PROXY
202#endif
203#ifdef USE_BLUETOOTH_PROXY
205#endif
206#ifdef USE_BLUETOOTH_PROXY
208#endif
209#ifdef USE_BLUETOOTH_PROXY
211#endif
212#ifdef USE_BLUETOOTH_PROXY
214#endif
215#ifdef USE_BLUETOOTH_PROXY
217#endif
218#ifdef USE_BLUETOOTH_PROXY
220#endif
221#ifdef USE_BLUETOOTH_PROXY
223#endif
224#ifdef USE_BLUETOOTH_PROXY
226#endif
227#ifdef USE_BLUETOOTH_PROXY
229#endif
230#ifdef USE_BLUETOOTH_PROXY
232#endif
233#ifdef USE_BLUETOOTH_PROXY
235#endif
236#ifdef USE_BLUETOOTH_PROXY
238#endif
239#ifdef USE_BLUETOOTH_PROXY
242#endif
243#ifdef USE_BLUETOOTH_PROXY
245#endif
246#ifdef USE_BLUETOOTH_PROXY
248#endif
249#ifdef USE_BLUETOOTH_PROXY
251#endif
252#ifdef USE_VOICE_ASSISTANT
254#endif
255#ifdef USE_VOICE_ASSISTANT
257#endif
258#ifdef USE_VOICE_ASSISTANT
260#endif
261#ifdef USE_VOICE_ASSISTANT
263#endif
264#ifdef USE_VOICE_ASSISTANT
266 virtual void on_voice_assistant_audio(const VoiceAssistantAudio &value){};
267#endif
268#ifdef USE_VOICE_ASSISTANT
270#endif
271#ifdef USE_VOICE_ASSISTANT
273#endif
274#ifdef USE_VOICE_ASSISTANT
276#endif
277#ifdef USE_VOICE_ASSISTANT
279#endif
280#ifdef USE_VOICE_ASSISTANT
282#endif
283#ifdef USE_VOICE_ASSISTANT
285#endif
286#ifdef USE_ALARM_CONTROL_PANEL
288#endif
289#ifdef USE_ALARM_CONTROL_PANEL
291#endif
292#ifdef USE_ALARM_CONTROL_PANEL
294#endif
295#ifdef USE_TEXT
297#endif
298#ifdef USE_TEXT
300#endif
301#ifdef USE_TEXT
302 virtual void on_text_command_request(const TextCommandRequest &value){};
303#endif
304#ifdef USE_DATETIME_DATE
306#endif
307#ifdef USE_DATETIME_DATE
309#endif
310#ifdef USE_DATETIME_DATE
311 virtual void on_date_command_request(const DateCommandRequest &value){};
312#endif
313#ifdef USE_DATETIME_TIME
315#endif
316#ifdef USE_DATETIME_TIME
318#endif
319#ifdef USE_DATETIME_TIME
320 virtual void on_time_command_request(const TimeCommandRequest &value){};
321#endif
322#ifdef USE_EVENT
324#endif
325#ifdef USE_EVENT
326 bool send_event_response(const EventResponse &msg);
327#endif
328#ifdef USE_VALVE
330#endif
331#ifdef USE_VALVE
333#endif
334#ifdef USE_VALVE
335 virtual void on_valve_command_request(const ValveCommandRequest &value){};
336#endif
337#ifdef USE_DATETIME_DATETIME
339#endif
340#ifdef USE_DATETIME_DATETIME
342#endif
343#ifdef USE_DATETIME_DATETIME
345#endif
346#ifdef USE_UPDATE
348#endif
349#ifdef USE_UPDATE
351#endif
352#ifdef USE_UPDATE
354#endif
355 protected:
356 bool read_message(uint32_t msg_size, uint32_t msg_type, uint8_t *msg_data) override;
357};
358
360 public:
361 virtual HelloResponse hello(const HelloRequest &msg) = 0;
362 virtual ConnectResponse connect(const ConnectRequest &msg) = 0;
364 virtual PingResponse ping(const PingRequest &msg) = 0;
366 virtual void list_entities(const ListEntitiesRequest &msg) = 0;
367 virtual void subscribe_states(const SubscribeStatesRequest &msg) = 0;
368 virtual void subscribe_logs(const SubscribeLogsRequest &msg) = 0;
371 virtual GetTimeResponse get_time(const GetTimeRequest &msg) = 0;
372 virtual void execute_service(const ExecuteServiceRequest &msg) = 0;
373#ifdef USE_API_NOISE
375#endif
376#ifdef USE_BUTTON
377 virtual void button_command(const ButtonCommandRequest &msg) = 0;
378#endif
379#ifdef USE_ESP32_CAMERA
380 virtual void camera_image(const CameraImageRequest &msg) = 0;
381#endif
382#ifdef USE_CLIMATE
383 virtual void climate_command(const ClimateCommandRequest &msg) = 0;
384#endif
385#ifdef USE_COVER
386 virtual void cover_command(const CoverCommandRequest &msg) = 0;
387#endif
388#ifdef USE_DATETIME_DATE
389 virtual void date_command(const DateCommandRequest &msg) = 0;
390#endif
391#ifdef USE_DATETIME_DATETIME
392 virtual void datetime_command(const DateTimeCommandRequest &msg) = 0;
393#endif
394#ifdef USE_FAN
395 virtual void fan_command(const FanCommandRequest &msg) = 0;
396#endif
397#ifdef USE_LIGHT
398 virtual void light_command(const LightCommandRequest &msg) = 0;
399#endif
400#ifdef USE_LOCK
401 virtual void lock_command(const LockCommandRequest &msg) = 0;
402#endif
403#ifdef USE_MEDIA_PLAYER
405#endif
406#ifdef USE_NUMBER
407 virtual void number_command(const NumberCommandRequest &msg) = 0;
408#endif
409#ifdef USE_SELECT
410 virtual void select_command(const SelectCommandRequest &msg) = 0;
411#endif
412#ifdef USE_SIREN
413 virtual void siren_command(const SirenCommandRequest &msg) = 0;
414#endif
415#ifdef USE_SWITCH
416 virtual void switch_command(const SwitchCommandRequest &msg) = 0;
417#endif
418#ifdef USE_TEXT
419 virtual void text_command(const TextCommandRequest &msg) = 0;
420#endif
421#ifdef USE_DATETIME_TIME
422 virtual void time_command(const TimeCommandRequest &msg) = 0;
423#endif
424#ifdef USE_UPDATE
425 virtual void update_command(const UpdateCommandRequest &msg) = 0;
426#endif
427#ifdef USE_VALVE
428 virtual void valve_command(const ValveCommandRequest &msg) = 0;
429#endif
430#ifdef USE_BLUETOOTH_PROXY
432#endif
433#ifdef USE_BLUETOOTH_PROXY
435#endif
436#ifdef USE_BLUETOOTH_PROXY
438#endif
439#ifdef USE_BLUETOOTH_PROXY
440 virtual void bluetooth_gatt_read(const BluetoothGATTReadRequest &msg) = 0;
441#endif
442#ifdef USE_BLUETOOTH_PROXY
444#endif
445#ifdef USE_BLUETOOTH_PROXY
447#endif
448#ifdef USE_BLUETOOTH_PROXY
450#endif
451#ifdef USE_BLUETOOTH_PROXY
453#endif
454#ifdef USE_BLUETOOTH_PROXY
457#endif
458#ifdef USE_BLUETOOTH_PROXY
460#endif
461#ifdef USE_BLUETOOTH_PROXY
463#endif
464#ifdef USE_VOICE_ASSISTANT
466#endif
467#ifdef USE_VOICE_ASSISTANT
470#endif
471#ifdef USE_VOICE_ASSISTANT
473#endif
474#ifdef USE_ALARM_CONTROL_PANEL
476#endif
477 protected:
478 void on_hello_request(const HelloRequest &msg) override;
479 void on_connect_request(const ConnectRequest &msg) override;
480 void on_disconnect_request(const DisconnectRequest &msg) override;
481 void on_ping_request(const PingRequest &msg) override;
482 void on_device_info_request(const DeviceInfoRequest &msg) override;
483 void on_list_entities_request(const ListEntitiesRequest &msg) override;
484 void on_subscribe_states_request(const SubscribeStatesRequest &msg) override;
485 void on_subscribe_logs_request(const SubscribeLogsRequest &msg) override;
488 void on_get_time_request(const GetTimeRequest &msg) override;
489 void on_execute_service_request(const ExecuteServiceRequest &msg) override;
490#ifdef USE_API_NOISE
492#endif
493#ifdef USE_BUTTON
494 void on_button_command_request(const ButtonCommandRequest &msg) override;
495#endif
496#ifdef USE_ESP32_CAMERA
497 void on_camera_image_request(const CameraImageRequest &msg) override;
498#endif
499#ifdef USE_CLIMATE
500 void on_climate_command_request(const ClimateCommandRequest &msg) override;
501#endif
502#ifdef USE_COVER
503 void on_cover_command_request(const CoverCommandRequest &msg) override;
504#endif
505#ifdef USE_DATETIME_DATE
506 void on_date_command_request(const DateCommandRequest &msg) override;
507#endif
508#ifdef USE_DATETIME_DATETIME
510#endif
511#ifdef USE_FAN
512 void on_fan_command_request(const FanCommandRequest &msg) override;
513#endif
514#ifdef USE_LIGHT
515 void on_light_command_request(const LightCommandRequest &msg) override;
516#endif
517#ifdef USE_LOCK
518 void on_lock_command_request(const LockCommandRequest &msg) override;
519#endif
520#ifdef USE_MEDIA_PLAYER
522#endif
523#ifdef USE_NUMBER
524 void on_number_command_request(const NumberCommandRequest &msg) override;
525#endif
526#ifdef USE_SELECT
527 void on_select_command_request(const SelectCommandRequest &msg) override;
528#endif
529#ifdef USE_SIREN
530 void on_siren_command_request(const SirenCommandRequest &msg) override;
531#endif
532#ifdef USE_SWITCH
533 void on_switch_command_request(const SwitchCommandRequest &msg) override;
534#endif
535#ifdef USE_TEXT
536 void on_text_command_request(const TextCommandRequest &msg) override;
537#endif
538#ifdef USE_DATETIME_TIME
539 void on_time_command_request(const TimeCommandRequest &msg) override;
540#endif
541#ifdef USE_UPDATE
542 void on_update_command_request(const UpdateCommandRequest &msg) override;
543#endif
544#ifdef USE_VALVE
545 void on_valve_command_request(const ValveCommandRequest &msg) override;
546#endif
547#ifdef USE_BLUETOOTH_PROXY
549#endif
550#ifdef USE_BLUETOOTH_PROXY
551 void on_bluetooth_device_request(const BluetoothDeviceRequest &msg) override;
552#endif
553#ifdef USE_BLUETOOTH_PROXY
555#endif
556#ifdef USE_BLUETOOTH_PROXY
558#endif
559#ifdef USE_BLUETOOTH_PROXY
561#endif
562#ifdef USE_BLUETOOTH_PROXY
564#endif
565#ifdef USE_BLUETOOTH_PROXY
567#endif
568#ifdef USE_BLUETOOTH_PROXY
570#endif
571#ifdef USE_BLUETOOTH_PROXY
573#endif
574#ifdef USE_BLUETOOTH_PROXY
577#endif
578#ifdef USE_BLUETOOTH_PROXY
580#endif
581#ifdef USE_VOICE_ASSISTANT
583#endif
584#ifdef USE_VOICE_ASSISTANT
586#endif
587#ifdef USE_VOICE_ASSISTANT
589#endif
590#ifdef USE_ALARM_CONTROL_PANEL
592#endif
593};
594
595} // namespace api
596} // namespace esphome
bool send_fan_state_response(const FanStateResponse &msg)
virtual void on_voice_assistant_configuration_request(const VoiceAssistantConfigurationRequest &value)
virtual void on_bluetooth_gatt_get_services_request(const BluetoothGATTGetServicesRequest &value)
bool send_bluetooth_device_pairing_response(const BluetoothDevicePairingResponse &msg)
virtual void on_alarm_control_panel_command_request(const AlarmControlPanelCommandRequest &value)
bool send_list_entities_siren_response(const ListEntitiesSirenResponse &msg)
bool send_time_state_response(const TimeStateResponse &msg)
virtual void on_siren_command_request(const SirenCommandRequest &value)
bool send_bluetooth_le_advertisement_response(const BluetoothLEAdvertisementResponse &msg)
virtual void on_hello_request(const HelloRequest &value)
virtual void on_subscribe_home_assistant_states_request(const SubscribeHomeAssistantStatesRequest &value)
bool send_sensor_state_response(const SensorStateResponse &msg)
bool send_event_response(const EventResponse &msg)
virtual void on_bluetooth_gatt_notify_request(const BluetoothGATTNotifyRequest &value)
virtual void on_bluetooth_device_request(const BluetoothDeviceRequest &value)
bool send_switch_state_response(const SwitchStateResponse &msg)
bool send_bluetooth_device_unpairing_response(const BluetoothDeviceUnpairingResponse &msg)
bool send_list_entities_fan_response(const ListEntitiesFanResponse &msg)
bool send_subscribe_logs_response(const SubscribeLogsResponse &msg)
bool send_voice_assistant_audio(const VoiceAssistantAudio &msg)
bool send_lock_state_response(const LockStateResponse &msg)
bool send_noise_encryption_set_key_response(const NoiseEncryptionSetKeyResponse &msg)
bool send_list_entities_done_response(const ListEntitiesDoneResponse &msg)
virtual void on_home_assistant_state_response(const HomeAssistantStateResponse &value)
bool send_list_entities_button_response(const ListEntitiesButtonResponse &msg)
bool send_text_state_response(const TextStateResponse &msg)
bool send_bluetooth_connections_free_response(const BluetoothConnectionsFreeResponse &msg)
virtual void on_get_time_response(const GetTimeResponse &value)
bool send_date_state_response(const DateStateResponse &msg)
bool send_number_state_response(const NumberStateResponse &msg)
virtual void on_voice_assistant_set_configuration(const VoiceAssistantSetConfiguration &value)
virtual void on_bluetooth_gatt_read_descriptor_request(const BluetoothGATTReadDescriptorRequest &value)
bool send_connect_response(const ConnectResponse &msg)
virtual void on_list_entities_request(const ListEntitiesRequest &value)
bool send_bluetooth_device_connection_response(const BluetoothDeviceConnectionResponse &msg)
virtual void on_noise_encryption_set_key_request(const NoiseEncryptionSetKeyRequest &value)
bool send_list_entities_sensor_response(const ListEntitiesSensorResponse &msg)
bool send_alarm_control_panel_state_response(const AlarmControlPanelStateResponse &msg)
bool send_siren_state_response(const SirenStateResponse &msg)
bool read_message(uint32_t msg_size, uint32_t msg_type, uint8_t *msg_data) override
bool send_list_entities_number_response(const ListEntitiesNumberResponse &msg)
bool send_list_entities_light_response(const ListEntitiesLightResponse &msg)
virtual void on_lock_command_request(const LockCommandRequest &value)
virtual void on_media_player_command_request(const MediaPlayerCommandRequest &value)
bool send_list_entities_update_response(const ListEntitiesUpdateResponse &msg)
bool send_list_entities_camera_response(const ListEntitiesCameraResponse &msg)
bool send_subscribe_home_assistant_state_response(const SubscribeHomeAssistantStateResponse &msg)
bool send_text_sensor_state_response(const TextSensorStateResponse &msg)
virtual void on_bluetooth_gatt_write_request(const BluetoothGATTWriteRequest &value)
bool send_binary_sensor_state_response(const BinarySensorStateResponse &msg)
virtual void on_subscribe_states_request(const SubscribeStatesRequest &value)
virtual void on_ping_response(const PingResponse &value)
bool send_camera_image_response(const CameraImageResponse &msg)
virtual void on_valve_command_request(const ValveCommandRequest &value)
bool send_list_entities_text_sensor_response(const ListEntitiesTextSensorResponse &msg)
virtual void on_bluetooth_gatt_read_request(const BluetoothGATTReadRequest &value)
bool send_bluetooth_gatt_read_response(const BluetoothGATTReadResponse &msg)
bool send_list_entities_binary_sensor_response(const ListEntitiesBinarySensorResponse &msg)
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)
bool send_list_entities_lock_response(const ListEntitiesLockResponse &msg)
virtual void on_text_command_request(const TextCommandRequest &value)
bool send_bluetooth_le_raw_advertisements_response(const BluetoothLERawAdvertisementsResponse &msg)
virtual void on_select_command_request(const SelectCommandRequest &value)
bool send_homeassistant_service_response(const HomeassistantServiceResponse &msg)
virtual void on_fan_command_request(const FanCommandRequest &value)
bool send_list_entities_text_response(const ListEntitiesTextResponse &msg)
bool send_ping_response(const PingResponse &msg)
bool send_bluetooth_gatt_get_services_response(const BluetoothGATTGetServicesResponse &msg)
bool send_bluetooth_gatt_error_response(const BluetoothGATTErrorResponse &msg)
bool send_list_entities_alarm_control_panel_response(const ListEntitiesAlarmControlPanelResponse &msg)
virtual void on_camera_image_request(const CameraImageRequest &value)
bool send_disconnect_request(const DisconnectRequest &msg)
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)
bool send_update_state_response(const UpdateStateResponse &msg)
bool send_list_entities_valve_response(const ListEntitiesValveResponse &msg)
virtual void on_connect_request(const ConnectRequest &value)
virtual void on_voice_assistant_announce_request(const VoiceAssistantAnnounceRequest &value)
bool send_voice_assistant_request(const VoiceAssistantRequest &msg)
virtual void on_climate_command_request(const ClimateCommandRequest &value)
virtual void on_ping_request(const PingRequest &value)
bool send_hello_response(const HelloResponse &msg)
bool send_media_player_state_response(const MediaPlayerStateResponse &msg)
bool send_bluetooth_gatt_get_services_done_response(const BluetoothGATTGetServicesDoneResponse &msg)
bool send_cover_state_response(const CoverStateResponse &msg)
bool send_bluetooth_device_clear_cache_response(const BluetoothDeviceClearCacheResponse &msg)
bool send_list_entities_media_player_response(const ListEntitiesMediaPlayerResponse &msg)
virtual void on_get_time_request(const GetTimeRequest &value)
virtual void on_voice_assistant_response(const VoiceAssistantResponse &value)
bool send_get_time_request(const GetTimeRequest &msg)
bool send_climate_state_response(const ClimateStateResponse &msg)
virtual void on_light_command_request(const LightCommandRequest &value)
bool send_list_entities_switch_response(const ListEntitiesSwitchResponse &msg)
virtual void on_subscribe_bluetooth_connections_free_request(const SubscribeBluetoothConnectionsFreeRequest &value)
bool send_voice_assistant_announce_finished(const VoiceAssistantAnnounceFinished &msg)
virtual void on_date_time_command_request(const DateTimeCommandRequest &value)
virtual void on_subscribe_homeassistant_services_request(const SubscribeHomeassistantServicesRequest &value)
bool send_list_entities_services_response(const ListEntitiesServicesResponse &msg)
bool send_light_state_response(const LightStateResponse &msg)
bool send_bluetooth_gatt_notify_response(const BluetoothGATTNotifyResponse &msg)
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)
bool send_disconnect_response(const DisconnectResponse &msg)
bool send_bluetooth_gatt_write_response(const BluetoothGATTWriteResponse &msg)
virtual void on_voice_assistant_event_response(const VoiceAssistantEventResponse &value)
bool send_list_entities_date_response(const ListEntitiesDateResponse &msg)
bool send_bluetooth_gatt_notify_data_response(const BluetoothGATTNotifyDataResponse &msg)
virtual void on_number_command_request(const NumberCommandRequest &value)
bool send_list_entities_event_response(const ListEntitiesEventResponse &msg)
virtual void on_execute_service_request(const ExecuteServiceRequest &value)
bool send_select_state_response(const SelectStateResponse &msg)
bool send_device_info_response(const DeviceInfoResponse &msg)
virtual void on_bluetooth_scanner_set_mode_request(const BluetoothScannerSetModeRequest &value)
virtual void on_date_command_request(const DateCommandRequest &value)
bool send_date_time_state_response(const DateTimeStateResponse &msg)
bool send_list_entities_time_response(const ListEntitiesTimeResponse &msg)
virtual void on_unsubscribe_bluetooth_le_advertisements_request(const UnsubscribeBluetoothLEAdvertisementsRequest &value)
bool send_list_entities_date_time_response(const ListEntitiesDateTimeResponse &msg)
bool send_voice_assistant_configuration_response(const VoiceAssistantConfigurationResponse &msg)
bool send_valve_state_response(const ValveStateResponse &msg)
bool send_list_entities_climate_response(const ListEntitiesClimateResponse &msg)
bool send_list_entities_select_response(const ListEntitiesSelectResponse &msg)
bool send_ping_request(const PingRequest &msg)
virtual void on_update_command_request(const UpdateCommandRequest &value)
virtual void on_disconnect_response(const DisconnectResponse &value)
bool send_bluetooth_scanner_state_response(const BluetoothScannerStateResponse &msg)
bool send_list_entities_cover_response(const ListEntitiesCoverResponse &msg)
bool send_get_time_response(const GetTimeResponse &msg)
virtual void on_device_info_request(const DeviceInfoRequest &value)
virtual void on_time_command_request(const TimeCommandRequest &value)
virtual DisconnectResponse disconnect(const DisconnectRequest &msg)=0
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 HelloResponse hello(const HelloRequest &msg)=0
virtual void select_command(const SelectCommandRequest &msg)=0
virtual VoiceAssistantConfigurationResponse voice_assistant_get_configuration(const VoiceAssistantConfigurationRequest &msg)=0
virtual void unsubscribe_bluetooth_le_advertisements(const UnsubscribeBluetoothLEAdvertisementsRequest &msg)=0
virtual void camera_image(const CameraImageRequest &msg)=0
virtual BluetoothConnectionsFreeResponse subscribe_bluetooth_connections_free(const SubscribeBluetoothConnectionsFreeRequest &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
void on_get_time_request(const GetTimeRequest &msg) override
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
void on_execute_service_request(const ExecuteServiceRequest &msg) override
void on_button_command_request(const ButtonCommandRequest &msg) override
virtual GetTimeResponse get_time(const GetTimeRequest &msg)=0
virtual void bluetooth_gatt_read_descriptor(const BluetoothGATTReadDescriptorRequest &msg)=0
void on_list_entities_request(const ListEntitiesRequest &msg) override
virtual void bluetooth_device_request(const BluetoothDeviceRequest &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_connect_request(const ConnectRequest &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 DeviceInfoResponse device_info(const DeviceInfoRequest &msg)=0
void on_alarm_control_panel_command_request(const AlarmControlPanelCommandRequest &msg) override
virtual void time_command(const TimeCommandRequest &msg)=0
virtual ConnectResponse connect(const ConnectRequest &msg)=0
virtual void subscribe_voice_assistant(const SubscribeVoiceAssistantRequest &msg)=0
virtual PingResponse ping(const PingRequest &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
virtual NoiseEncryptionSetKeyResponse noise_encryption_set_key(const NoiseEncryptionSetKeyRequest &msg)=0
void on_light_command_request(const LightCommandRequest &msg) override
virtual void alarm_control_panel_command(const AlarmControlPanelCommandRequest &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_bluetooth_gatt_write_descriptor_request(const BluetoothGATTWriteDescriptorRequest &msg) override
virtual void subscribe_bluetooth_le_advertisements(const SubscribeBluetoothLEAdvertisementsRequest &msg)=0
void on_noise_encryption_set_key_request(const NoiseEncryptionSetKeyRequest &msg) override
void on_switch_command_request(const SwitchCommandRequest &msg) override
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7