9 static const char *
const TAG =
"api.service";
12 #ifdef HAS_PROTO_MESSAGE_DUMP 13 ESP_LOGVV(TAG,
"send_hello_response: %s", msg.
dump().c_str());
15 return this->send_message_<HelloResponse>(msg, 2);
18 #ifdef HAS_PROTO_MESSAGE_DUMP 19 ESP_LOGVV(TAG,
"send_connect_response: %s", msg.
dump().c_str());
21 return this->send_message_<ConnectResponse>(msg, 4);
24 #ifdef HAS_PROTO_MESSAGE_DUMP 25 ESP_LOGVV(TAG,
"send_disconnect_request: %s", msg.
dump().c_str());
27 return this->send_message_<DisconnectRequest>(msg, 5);
30 #ifdef HAS_PROTO_MESSAGE_DUMP 31 ESP_LOGVV(TAG,
"send_disconnect_response: %s", msg.
dump().c_str());
33 return this->send_message_<DisconnectResponse>(msg, 6);
36 #ifdef HAS_PROTO_MESSAGE_DUMP 37 ESP_LOGVV(TAG,
"send_ping_request: %s", msg.
dump().c_str());
39 return this->send_message_<PingRequest>(msg, 7);
42 #ifdef HAS_PROTO_MESSAGE_DUMP 43 ESP_LOGVV(TAG,
"send_ping_response: %s", msg.
dump().c_str());
45 return this->send_message_<PingResponse>(msg, 8);
48 #ifdef HAS_PROTO_MESSAGE_DUMP 49 ESP_LOGVV(TAG,
"send_device_info_response: %s", msg.
dump().c_str());
51 return this->send_message_<DeviceInfoResponse>(msg, 10);
54 #ifdef HAS_PROTO_MESSAGE_DUMP 55 ESP_LOGVV(TAG,
"send_list_entities_done_response: %s", msg.
dump().c_str());
57 return this->send_message_<ListEntitiesDoneResponse>(msg, 19);
59 #ifdef USE_BINARY_SENSOR 61 #ifdef HAS_PROTO_MESSAGE_DUMP 62 ESP_LOGVV(TAG,
"send_list_entities_binary_sensor_response: %s", msg.
dump().c_str());
64 return this->send_message_<ListEntitiesBinarySensorResponse>(msg, 12);
67 #ifdef USE_BINARY_SENSOR 69 #ifdef HAS_PROTO_MESSAGE_DUMP 70 ESP_LOGVV(TAG,
"send_binary_sensor_state_response: %s", msg.
dump().c_str());
72 return this->send_message_<BinarySensorStateResponse>(msg, 21);
77 #ifdef HAS_PROTO_MESSAGE_DUMP 78 ESP_LOGVV(TAG,
"send_list_entities_cover_response: %s", msg.
dump().c_str());
80 return this->send_message_<ListEntitiesCoverResponse>(msg, 13);
85 #ifdef HAS_PROTO_MESSAGE_DUMP 86 ESP_LOGVV(TAG,
"send_cover_state_response: %s", msg.
dump().c_str());
88 return this->send_message_<CoverStateResponse>(msg, 22);
95 #ifdef HAS_PROTO_MESSAGE_DUMP 96 ESP_LOGVV(TAG,
"send_list_entities_fan_response: %s", msg.
dump().c_str());
98 return this->send_message_<ListEntitiesFanResponse>(msg, 14);
103 #ifdef HAS_PROTO_MESSAGE_DUMP 104 ESP_LOGVV(TAG,
"send_fan_state_response: %s", msg.
dump().c_str());
106 return this->send_message_<FanStateResponse>(msg, 23);
113 #ifdef HAS_PROTO_MESSAGE_DUMP 114 ESP_LOGVV(TAG,
"send_list_entities_light_response: %s", msg.
dump().c_str());
116 return this->send_message_<ListEntitiesLightResponse>(msg, 15);
121 #ifdef HAS_PROTO_MESSAGE_DUMP 122 ESP_LOGVV(TAG,
"send_light_state_response: %s", msg.
dump().c_str());
124 return this->send_message_<LightStateResponse>(msg, 24);
131 #ifdef HAS_PROTO_MESSAGE_DUMP 132 ESP_LOGVV(TAG,
"send_list_entities_sensor_response: %s", msg.
dump().c_str());
134 return this->send_message_<ListEntitiesSensorResponse>(msg, 16);
139 #ifdef HAS_PROTO_MESSAGE_DUMP 140 ESP_LOGVV(TAG,
"send_sensor_state_response: %s", msg.
dump().c_str());
142 return this->send_message_<SensorStateResponse>(msg, 25);
147 #ifdef HAS_PROTO_MESSAGE_DUMP 148 ESP_LOGVV(TAG,
"send_list_entities_switch_response: %s", msg.
dump().c_str());
150 return this->send_message_<ListEntitiesSwitchResponse>(msg, 17);
155 #ifdef HAS_PROTO_MESSAGE_DUMP 156 ESP_LOGVV(TAG,
"send_switch_state_response: %s", msg.
dump().c_str());
158 return this->send_message_<SwitchStateResponse>(msg, 26);
163 #ifdef USE_TEXT_SENSOR 165 #ifdef HAS_PROTO_MESSAGE_DUMP 166 ESP_LOGVV(TAG,
"send_list_entities_text_sensor_response: %s", msg.
dump().c_str());
168 return this->send_message_<ListEntitiesTextSensorResponse>(msg, 18);
171 #ifdef USE_TEXT_SENSOR 173 #ifdef HAS_PROTO_MESSAGE_DUMP 174 ESP_LOGVV(TAG,
"send_text_sensor_state_response: %s", msg.
dump().c_str());
176 return this->send_message_<TextSensorStateResponse>(msg, 27);
180 return this->send_message_<SubscribeLogsResponse>(msg, 29);
183 #ifdef HAS_PROTO_MESSAGE_DUMP 184 ESP_LOGVV(TAG,
"send_homeassistant_service_response: %s", msg.
dump().c_str());
186 return this->send_message_<HomeassistantServiceResponse>(msg, 35);
190 #ifdef HAS_PROTO_MESSAGE_DUMP 191 ESP_LOGVV(TAG,
"send_subscribe_home_assistant_state_response: %s", msg.
dump().c_str());
193 return this->send_message_<SubscribeHomeAssistantStateResponse>(msg, 39);
196 #ifdef HAS_PROTO_MESSAGE_DUMP 197 ESP_LOGVV(TAG,
"send_get_time_request: %s", msg.
dump().c_str());
199 return this->send_message_<GetTimeRequest>(msg, 36);
202 #ifdef HAS_PROTO_MESSAGE_DUMP 203 ESP_LOGVV(TAG,
"send_get_time_response: %s", msg.
dump().c_str());
205 return this->send_message_<GetTimeResponse>(msg, 37);
208 #ifdef HAS_PROTO_MESSAGE_DUMP 209 ESP_LOGVV(TAG,
"send_list_entities_services_response: %s", msg.
dump().c_str());
211 return this->send_message_<ListEntitiesServicesResponse>(msg, 41);
213 #ifdef USE_ESP32_CAMERA 215 #ifdef HAS_PROTO_MESSAGE_DUMP 216 ESP_LOGVV(TAG,
"send_list_entities_camera_response: %s", msg.
dump().c_str());
218 return this->send_message_<ListEntitiesCameraResponse>(msg, 43);
221 #ifdef USE_ESP32_CAMERA 223 #ifdef HAS_PROTO_MESSAGE_DUMP 224 ESP_LOGVV(TAG,
"send_camera_image_response: %s", msg.
dump().c_str());
226 return this->send_message_<CameraImageResponse>(msg, 44);
229 #ifdef USE_ESP32_CAMERA 233 #ifdef HAS_PROTO_MESSAGE_DUMP 234 ESP_LOGVV(TAG,
"send_list_entities_climate_response: %s", msg.
dump().c_str());
236 return this->send_message_<ListEntitiesClimateResponse>(msg, 46);
241 #ifdef HAS_PROTO_MESSAGE_DUMP 242 ESP_LOGVV(TAG,
"send_climate_state_response: %s", msg.
dump().c_str());
244 return this->send_message_<ClimateStateResponse>(msg, 47);
251 #ifdef HAS_PROTO_MESSAGE_DUMP 252 ESP_LOGVV(TAG,
"send_list_entities_number_response: %s", msg.
dump().c_str());
254 return this->send_message_<ListEntitiesNumberResponse>(msg, 49);
259 #ifdef HAS_PROTO_MESSAGE_DUMP 260 ESP_LOGVV(TAG,
"send_number_state_response: %s", msg.
dump().c_str());
262 return this->send_message_<NumberStateResponse>(msg, 50);
269 #ifdef HAS_PROTO_MESSAGE_DUMP 270 ESP_LOGVV(TAG,
"send_list_entities_select_response: %s", msg.
dump().c_str());
272 return this->send_message_<ListEntitiesSelectResponse>(msg, 52);
277 #ifdef HAS_PROTO_MESSAGE_DUMP 278 ESP_LOGVV(TAG,
"send_select_state_response: %s", msg.
dump().c_str());
280 return this->send_message_<SelectStateResponse>(msg, 53);
287 #ifdef HAS_PROTO_MESSAGE_DUMP 288 ESP_LOGVV(TAG,
"send_list_entities_lock_response: %s", msg.
dump().c_str());
290 return this->send_message_<ListEntitiesLockResponse>(msg, 58);
295 #ifdef HAS_PROTO_MESSAGE_DUMP 296 ESP_LOGVV(TAG,
"send_lock_state_response: %s", msg.
dump().c_str());
298 return this->send_message_<LockStateResponse>(msg, 59);
305 #ifdef HAS_PROTO_MESSAGE_DUMP 306 ESP_LOGVV(TAG,
"send_list_entities_button_response: %s", msg.
dump().c_str());
308 return this->send_message_<ListEntitiesButtonResponse>(msg, 61);
313 #ifdef USE_MEDIA_PLAYER 315 #ifdef HAS_PROTO_MESSAGE_DUMP 316 ESP_LOGVV(TAG,
"send_list_entities_media_player_response: %s", msg.
dump().c_str());
318 return this->send_message_<ListEntitiesMediaPlayerResponse>(msg, 63);
321 #ifdef USE_MEDIA_PLAYER 323 #ifdef HAS_PROTO_MESSAGE_DUMP 324 ESP_LOGVV(TAG,
"send_media_player_state_response: %s", msg.
dump().c_str());
326 return this->send_message_<MediaPlayerStateResponse>(msg, 64);
329 #ifdef USE_MEDIA_PLAYER 331 #ifdef USE_BLUETOOTH_PROXY 333 #ifdef USE_BLUETOOTH_PROXY 335 #ifdef HAS_PROTO_MESSAGE_DUMP 336 ESP_LOGVV(TAG,
"send_bluetooth_le_advertisement_response: %s", msg.
dump().c_str());
338 return this->send_message_<BluetoothLEAdvertisementResponse>(msg, 67);
341 #ifdef USE_BLUETOOTH_PROXY 344 #ifdef HAS_PROTO_MESSAGE_DUMP 345 ESP_LOGVV(TAG,
"send_bluetooth_le_raw_advertisements_response: %s", msg.
dump().c_str());
347 return this->send_message_<BluetoothLERawAdvertisementsResponse>(msg, 93);
350 #ifdef USE_BLUETOOTH_PROXY 352 #ifdef USE_BLUETOOTH_PROXY 354 #ifdef HAS_PROTO_MESSAGE_DUMP 355 ESP_LOGVV(TAG,
"send_bluetooth_device_connection_response: %s", msg.
dump().c_str());
357 return this->send_message_<BluetoothDeviceConnectionResponse>(msg, 69);
360 #ifdef USE_BLUETOOTH_PROXY 362 #ifdef USE_BLUETOOTH_PROXY 364 #ifdef HAS_PROTO_MESSAGE_DUMP 365 ESP_LOGVV(TAG,
"send_bluetooth_gatt_get_services_response: %s", msg.
dump().c_str());
367 return this->send_message_<BluetoothGATTGetServicesResponse>(msg, 71);
370 #ifdef USE_BLUETOOTH_PROXY 373 #ifdef HAS_PROTO_MESSAGE_DUMP 374 ESP_LOGVV(TAG,
"send_bluetooth_gatt_get_services_done_response: %s", msg.
dump().c_str());
376 return this->send_message_<BluetoothGATTGetServicesDoneResponse>(msg, 72);
379 #ifdef USE_BLUETOOTH_PROXY 381 #ifdef USE_BLUETOOTH_PROXY 383 #ifdef HAS_PROTO_MESSAGE_DUMP 384 ESP_LOGVV(TAG,
"send_bluetooth_gatt_read_response: %s", msg.
dump().c_str());
386 return this->send_message_<BluetoothGATTReadResponse>(msg, 74);
389 #ifdef USE_BLUETOOTH_PROXY 391 #ifdef USE_BLUETOOTH_PROXY 393 #ifdef USE_BLUETOOTH_PROXY 395 #ifdef USE_BLUETOOTH_PROXY 397 #ifdef USE_BLUETOOTH_PROXY 399 #ifdef HAS_PROTO_MESSAGE_DUMP 400 ESP_LOGVV(TAG,
"send_bluetooth_gatt_notify_data_response: %s", msg.
dump().c_str());
402 return this->send_message_<BluetoothGATTNotifyDataResponse>(msg, 79);
405 #ifdef USE_BLUETOOTH_PROXY 407 #ifdef USE_BLUETOOTH_PROXY 409 #ifdef HAS_PROTO_MESSAGE_DUMP 410 ESP_LOGVV(TAG,
"send_bluetooth_connections_free_response: %s", msg.
dump().c_str());
412 return this->send_message_<BluetoothConnectionsFreeResponse>(msg, 81);
415 #ifdef USE_BLUETOOTH_PROXY 417 #ifdef HAS_PROTO_MESSAGE_DUMP 418 ESP_LOGVV(TAG,
"send_bluetooth_gatt_error_response: %s", msg.
dump().c_str());
420 return this->send_message_<BluetoothGATTErrorResponse>(msg, 82);
423 #ifdef USE_BLUETOOTH_PROXY 425 #ifdef HAS_PROTO_MESSAGE_DUMP 426 ESP_LOGVV(TAG,
"send_bluetooth_gatt_write_response: %s", msg.
dump().c_str());
428 return this->send_message_<BluetoothGATTWriteResponse>(msg, 83);
431 #ifdef USE_BLUETOOTH_PROXY 433 #ifdef HAS_PROTO_MESSAGE_DUMP 434 ESP_LOGVV(TAG,
"send_bluetooth_gatt_notify_response: %s", msg.
dump().c_str());
436 return this->send_message_<BluetoothGATTNotifyResponse>(msg, 84);
439 #ifdef USE_BLUETOOTH_PROXY 441 #ifdef HAS_PROTO_MESSAGE_DUMP 442 ESP_LOGVV(TAG,
"send_bluetooth_device_pairing_response: %s", msg.
dump().c_str());
444 return this->send_message_<BluetoothDevicePairingResponse>(msg, 85);
447 #ifdef USE_BLUETOOTH_PROXY 449 #ifdef HAS_PROTO_MESSAGE_DUMP 450 ESP_LOGVV(TAG,
"send_bluetooth_device_unpairing_response: %s", msg.
dump().c_str());
452 return this->send_message_<BluetoothDeviceUnpairingResponse>(msg, 86);
455 #ifdef USE_BLUETOOTH_PROXY 457 #ifdef USE_BLUETOOTH_PROXY 459 #ifdef HAS_PROTO_MESSAGE_DUMP 460 ESP_LOGVV(TAG,
"send_bluetooth_device_clear_cache_response: %s", msg.
dump().c_str());
462 return this->send_message_<BluetoothDeviceClearCacheResponse>(msg, 88);
465 #ifdef USE_VOICE_ASSISTANT 467 #ifdef USE_VOICE_ASSISTANT 469 #ifdef HAS_PROTO_MESSAGE_DUMP 470 ESP_LOGVV(TAG,
"send_voice_assistant_request: %s", msg.
dump().c_str());
472 return this->send_message_<VoiceAssistantRequest>(msg, 90);
475 #ifdef USE_VOICE_ASSISTANT 477 #ifdef USE_VOICE_ASSISTANT 479 #ifdef USE_VOICE_ASSISTANT 481 #ifdef HAS_PROTO_MESSAGE_DUMP 482 ESP_LOGVV(TAG,
"send_voice_assistant_audio: %s", msg.
dump().c_str());
484 return this->send_message_<VoiceAssistantAudio>(msg, 106);
487 #ifdef USE_VOICE_ASSISTANT 489 #ifdef USE_VOICE_ASSISTANT 491 #ifdef USE_VOICE_ASSISTANT 493 #ifdef HAS_PROTO_MESSAGE_DUMP 494 ESP_LOGVV(TAG,
"send_voice_assistant_announce_finished: %s", msg.
dump().c_str());
496 return this->send_message_<VoiceAssistantAnnounceFinished>(msg, 120);
499 #ifdef USE_VOICE_ASSISTANT 501 #ifdef USE_VOICE_ASSISTANT 504 #ifdef HAS_PROTO_MESSAGE_DUMP 505 ESP_LOGVV(TAG,
"send_voice_assistant_configuration_response: %s", msg.
dump().c_str());
507 return this->send_message_<VoiceAssistantConfigurationResponse>(msg, 122);
510 #ifdef USE_VOICE_ASSISTANT 512 #ifdef USE_ALARM_CONTROL_PANEL 515 #ifdef HAS_PROTO_MESSAGE_DUMP 516 ESP_LOGVV(TAG,
"send_list_entities_alarm_control_panel_response: %s", msg.
dump().c_str());
518 return this->send_message_<ListEntitiesAlarmControlPanelResponse>(msg, 94);
521 #ifdef USE_ALARM_CONTROL_PANEL 523 #ifdef HAS_PROTO_MESSAGE_DUMP 524 ESP_LOGVV(TAG,
"send_alarm_control_panel_state_response: %s", msg.
dump().c_str());
526 return this->send_message_<AlarmControlPanelStateResponse>(msg, 95);
529 #ifdef USE_ALARM_CONTROL_PANEL 533 #ifdef HAS_PROTO_MESSAGE_DUMP 534 ESP_LOGVV(TAG,
"send_list_entities_text_response: %s", msg.
dump().c_str());
536 return this->send_message_<ListEntitiesTextResponse>(msg, 97);
541 #ifdef HAS_PROTO_MESSAGE_DUMP 542 ESP_LOGVV(TAG,
"send_text_state_response: %s", msg.
dump().c_str());
544 return this->send_message_<TextStateResponse>(msg, 98);
549 #ifdef USE_DATETIME_DATE 551 #ifdef HAS_PROTO_MESSAGE_DUMP 552 ESP_LOGVV(TAG,
"send_list_entities_date_response: %s", msg.
dump().c_str());
554 return this->send_message_<ListEntitiesDateResponse>(msg, 100);
557 #ifdef USE_DATETIME_DATE 559 #ifdef HAS_PROTO_MESSAGE_DUMP 560 ESP_LOGVV(TAG,
"send_date_state_response: %s", msg.
dump().c_str());
562 return this->send_message_<DateStateResponse>(msg, 101);
565 #ifdef USE_DATETIME_DATE 567 #ifdef USE_DATETIME_TIME 569 #ifdef HAS_PROTO_MESSAGE_DUMP 570 ESP_LOGVV(TAG,
"send_list_entities_time_response: %s", msg.
dump().c_str());
572 return this->send_message_<ListEntitiesTimeResponse>(msg, 103);
575 #ifdef USE_DATETIME_TIME 577 #ifdef HAS_PROTO_MESSAGE_DUMP 578 ESP_LOGVV(TAG,
"send_time_state_response: %s", msg.
dump().c_str());
580 return this->send_message_<TimeStateResponse>(msg, 104);
583 #ifdef USE_DATETIME_TIME 587 #ifdef HAS_PROTO_MESSAGE_DUMP 588 ESP_LOGVV(TAG,
"send_list_entities_event_response: %s", msg.
dump().c_str());
590 return this->send_message_<ListEntitiesEventResponse>(msg, 107);
595 #ifdef HAS_PROTO_MESSAGE_DUMP 596 ESP_LOGVV(TAG,
"send_event_response: %s", msg.
dump().c_str());
598 return this->send_message_<EventResponse>(msg, 108);
603 #ifdef HAS_PROTO_MESSAGE_DUMP 604 ESP_LOGVV(TAG,
"send_list_entities_valve_response: %s", msg.
dump().c_str());
606 return this->send_message_<ListEntitiesValveResponse>(msg, 109);
611 #ifdef HAS_PROTO_MESSAGE_DUMP 612 ESP_LOGVV(TAG,
"send_valve_state_response: %s", msg.
dump().c_str());
614 return this->send_message_<ValveStateResponse>(msg, 110);
619 #ifdef USE_DATETIME_DATETIME 621 #ifdef HAS_PROTO_MESSAGE_DUMP 622 ESP_LOGVV(TAG,
"send_list_entities_date_time_response: %s", msg.
dump().c_str());
624 return this->send_message_<ListEntitiesDateTimeResponse>(msg, 112);
627 #ifdef USE_DATETIME_DATETIME 629 #ifdef HAS_PROTO_MESSAGE_DUMP 630 ESP_LOGVV(TAG,
"send_date_time_state_response: %s", msg.
dump().c_str());
632 return this->send_message_<DateTimeStateResponse>(msg, 113);
635 #ifdef USE_DATETIME_DATETIME 639 #ifdef HAS_PROTO_MESSAGE_DUMP 640 ESP_LOGVV(TAG,
"send_list_entities_update_response: %s", msg.
dump().c_str());
642 return this->send_message_<ListEntitiesUpdateResponse>(msg, 116);
647 #ifdef HAS_PROTO_MESSAGE_DUMP 648 ESP_LOGVV(TAG,
"send_update_state_response: %s", msg.
dump().c_str());
650 return this->send_message_<UpdateStateResponse>(msg, 117);
659 msg.
decode(msg_data, msg_size);
660 #ifdef HAS_PROTO_MESSAGE_DUMP 661 ESP_LOGVV(TAG,
"on_hello_request: %s", msg.
dump().c_str());
668 msg.
decode(msg_data, msg_size);
669 #ifdef HAS_PROTO_MESSAGE_DUMP 670 ESP_LOGVV(TAG,
"on_connect_request: %s", msg.
dump().c_str());
677 msg.
decode(msg_data, msg_size);
678 #ifdef HAS_PROTO_MESSAGE_DUMP 679 ESP_LOGVV(TAG,
"on_disconnect_request: %s", msg.
dump().c_str());
686 msg.
decode(msg_data, msg_size);
687 #ifdef HAS_PROTO_MESSAGE_DUMP 688 ESP_LOGVV(TAG,
"on_disconnect_response: %s", msg.
dump().c_str());
695 msg.
decode(msg_data, msg_size);
696 #ifdef HAS_PROTO_MESSAGE_DUMP 697 ESP_LOGVV(TAG,
"on_ping_request: %s", msg.
dump().c_str());
704 msg.
decode(msg_data, msg_size);
705 #ifdef HAS_PROTO_MESSAGE_DUMP 706 ESP_LOGVV(TAG,
"on_ping_response: %s", msg.
dump().c_str());
713 msg.
decode(msg_data, msg_size);
714 #ifdef HAS_PROTO_MESSAGE_DUMP 715 ESP_LOGVV(TAG,
"on_device_info_request: %s", msg.
dump().c_str());
722 msg.
decode(msg_data, msg_size);
723 #ifdef HAS_PROTO_MESSAGE_DUMP 724 ESP_LOGVV(TAG,
"on_list_entities_request: %s", msg.
dump().c_str());
731 msg.
decode(msg_data, msg_size);
732 #ifdef HAS_PROTO_MESSAGE_DUMP 733 ESP_LOGVV(TAG,
"on_subscribe_states_request: %s", msg.
dump().c_str());
740 msg.
decode(msg_data, msg_size);
741 #ifdef HAS_PROTO_MESSAGE_DUMP 742 ESP_LOGVV(TAG,
"on_subscribe_logs_request: %s", msg.
dump().c_str());
750 msg.
decode(msg_data, msg_size);
751 #ifdef HAS_PROTO_MESSAGE_DUMP 752 ESP_LOGVV(TAG,
"on_cover_command_request: %s", msg.
dump().c_str());
761 msg.
decode(msg_data, msg_size);
762 #ifdef HAS_PROTO_MESSAGE_DUMP 763 ESP_LOGVV(TAG,
"on_fan_command_request: %s", msg.
dump().c_str());
772 msg.
decode(msg_data, msg_size);
773 #ifdef HAS_PROTO_MESSAGE_DUMP 774 ESP_LOGVV(TAG,
"on_light_command_request: %s", msg.
dump().c_str());
783 msg.
decode(msg_data, msg_size);
784 #ifdef HAS_PROTO_MESSAGE_DUMP 785 ESP_LOGVV(TAG,
"on_switch_command_request: %s", msg.
dump().c_str());
793 msg.
decode(msg_data, msg_size);
794 #ifdef HAS_PROTO_MESSAGE_DUMP 795 ESP_LOGVV(TAG,
"on_subscribe_homeassistant_services_request: %s", msg.
dump().c_str());
802 msg.
decode(msg_data, msg_size);
803 #ifdef HAS_PROTO_MESSAGE_DUMP 804 ESP_LOGVV(TAG,
"on_get_time_request: %s", msg.
dump().c_str());
811 msg.
decode(msg_data, msg_size);
812 #ifdef HAS_PROTO_MESSAGE_DUMP 813 ESP_LOGVV(TAG,
"on_get_time_response: %s", msg.
dump().c_str());
820 msg.
decode(msg_data, msg_size);
821 #ifdef HAS_PROTO_MESSAGE_DUMP 822 ESP_LOGVV(TAG,
"on_subscribe_home_assistant_states_request: %s", msg.
dump().c_str());
829 msg.
decode(msg_data, msg_size);
830 #ifdef HAS_PROTO_MESSAGE_DUMP 831 ESP_LOGVV(TAG,
"on_home_assistant_state_response: %s", msg.
dump().c_str());
838 msg.
decode(msg_data, msg_size);
839 #ifdef HAS_PROTO_MESSAGE_DUMP 840 ESP_LOGVV(TAG,
"on_execute_service_request: %s", msg.
dump().c_str());
846 #ifdef USE_ESP32_CAMERA 848 msg.
decode(msg_data, msg_size);
849 #ifdef HAS_PROTO_MESSAGE_DUMP 850 ESP_LOGVV(TAG,
"on_camera_image_request: %s", msg.
dump().c_str());
859 msg.
decode(msg_data, msg_size);
860 #ifdef HAS_PROTO_MESSAGE_DUMP 861 ESP_LOGVV(TAG,
"on_climate_command_request: %s", msg.
dump().c_str());
870 msg.
decode(msg_data, msg_size);
871 #ifdef HAS_PROTO_MESSAGE_DUMP 872 ESP_LOGVV(TAG,
"on_number_command_request: %s", msg.
dump().c_str());
881 msg.
decode(msg_data, msg_size);
882 #ifdef HAS_PROTO_MESSAGE_DUMP 883 ESP_LOGVV(TAG,
"on_select_command_request: %s", msg.
dump().c_str());
892 msg.
decode(msg_data, msg_size);
893 #ifdef HAS_PROTO_MESSAGE_DUMP 894 ESP_LOGVV(TAG,
"on_lock_command_request: %s", msg.
dump().c_str());
903 msg.
decode(msg_data, msg_size);
904 #ifdef HAS_PROTO_MESSAGE_DUMP 905 ESP_LOGVV(TAG,
"on_button_command_request: %s", msg.
dump().c_str());
912 #ifdef USE_MEDIA_PLAYER 914 msg.
decode(msg_data, msg_size);
915 #ifdef HAS_PROTO_MESSAGE_DUMP 916 ESP_LOGVV(TAG,
"on_media_player_command_request: %s", msg.
dump().c_str());
923 #ifdef USE_BLUETOOTH_PROXY 925 msg.
decode(msg_data, msg_size);
926 #ifdef HAS_PROTO_MESSAGE_DUMP 927 ESP_LOGVV(TAG,
"on_subscribe_bluetooth_le_advertisements_request: %s", msg.
dump().c_str());
934 #ifdef USE_BLUETOOTH_PROXY 936 msg.
decode(msg_data, msg_size);
937 #ifdef HAS_PROTO_MESSAGE_DUMP 938 ESP_LOGVV(TAG,
"on_bluetooth_device_request: %s", msg.
dump().c_str());
945 #ifdef USE_BLUETOOTH_PROXY 947 msg.
decode(msg_data, msg_size);
948 #ifdef HAS_PROTO_MESSAGE_DUMP 949 ESP_LOGVV(TAG,
"on_bluetooth_gatt_get_services_request: %s", msg.
dump().c_str());
956 #ifdef USE_BLUETOOTH_PROXY 958 msg.
decode(msg_data, msg_size);
959 #ifdef HAS_PROTO_MESSAGE_DUMP 960 ESP_LOGVV(TAG,
"on_bluetooth_gatt_read_request: %s", msg.
dump().c_str());
967 #ifdef USE_BLUETOOTH_PROXY 969 msg.
decode(msg_data, msg_size);
970 #ifdef HAS_PROTO_MESSAGE_DUMP 971 ESP_LOGVV(TAG,
"on_bluetooth_gatt_write_request: %s", msg.
dump().c_str());
978 #ifdef USE_BLUETOOTH_PROXY 980 msg.
decode(msg_data, msg_size);
981 #ifdef HAS_PROTO_MESSAGE_DUMP 982 ESP_LOGVV(TAG,
"on_bluetooth_gatt_read_descriptor_request: %s", msg.
dump().c_str());
989 #ifdef USE_BLUETOOTH_PROXY 991 msg.
decode(msg_data, msg_size);
992 #ifdef HAS_PROTO_MESSAGE_DUMP 993 ESP_LOGVV(TAG,
"on_bluetooth_gatt_write_descriptor_request: %s", msg.
dump().c_str());
1000 #ifdef USE_BLUETOOTH_PROXY 1002 msg.
decode(msg_data, msg_size);
1003 #ifdef HAS_PROTO_MESSAGE_DUMP 1004 ESP_LOGVV(TAG,
"on_bluetooth_gatt_notify_request: %s", msg.
dump().c_str());
1011 #ifdef USE_BLUETOOTH_PROXY 1013 msg.
decode(msg_data, msg_size);
1014 #ifdef HAS_PROTO_MESSAGE_DUMP 1015 ESP_LOGVV(TAG,
"on_subscribe_bluetooth_connections_free_request: %s", msg.
dump().c_str());
1022 #ifdef USE_BLUETOOTH_PROXY 1024 msg.
decode(msg_data, msg_size);
1025 #ifdef HAS_PROTO_MESSAGE_DUMP 1026 ESP_LOGVV(TAG,
"on_unsubscribe_bluetooth_le_advertisements_request: %s", msg.
dump().c_str());
1033 #ifdef USE_VOICE_ASSISTANT 1035 msg.
decode(msg_data, msg_size);
1036 #ifdef HAS_PROTO_MESSAGE_DUMP 1037 ESP_LOGVV(TAG,
"on_subscribe_voice_assistant_request: %s", msg.
dump().c_str());
1044 #ifdef USE_VOICE_ASSISTANT 1046 msg.
decode(msg_data, msg_size);
1047 #ifdef HAS_PROTO_MESSAGE_DUMP 1048 ESP_LOGVV(TAG,
"on_voice_assistant_response: %s", msg.
dump().c_str());
1055 #ifdef USE_VOICE_ASSISTANT 1057 msg.
decode(msg_data, msg_size);
1058 #ifdef HAS_PROTO_MESSAGE_DUMP 1059 ESP_LOGVV(TAG,
"on_voice_assistant_event_response: %s", msg.
dump().c_str());
1066 #ifdef USE_ALARM_CONTROL_PANEL 1068 msg.
decode(msg_data, msg_size);
1069 #ifdef HAS_PROTO_MESSAGE_DUMP 1070 ESP_LOGVV(TAG,
"on_alarm_control_panel_command_request: %s", msg.
dump().c_str());
1079 msg.
decode(msg_data, msg_size);
1080 #ifdef HAS_PROTO_MESSAGE_DUMP 1081 ESP_LOGVV(TAG,
"on_text_command_request: %s", msg.
dump().c_str());
1088 #ifdef USE_DATETIME_DATE 1090 msg.
decode(msg_data, msg_size);
1091 #ifdef HAS_PROTO_MESSAGE_DUMP 1092 ESP_LOGVV(TAG,
"on_date_command_request: %s", msg.
dump().c_str());
1099 #ifdef USE_DATETIME_TIME 1101 msg.
decode(msg_data, msg_size);
1102 #ifdef HAS_PROTO_MESSAGE_DUMP 1103 ESP_LOGVV(TAG,
"on_time_command_request: %s", msg.
dump().c_str());
1110 #ifdef USE_VOICE_ASSISTANT 1112 msg.
decode(msg_data, msg_size);
1113 #ifdef HAS_PROTO_MESSAGE_DUMP 1114 ESP_LOGVV(TAG,
"on_voice_assistant_audio: %s", msg.
dump().c_str());
1123 msg.
decode(msg_data, msg_size);
1124 #ifdef HAS_PROTO_MESSAGE_DUMP 1125 ESP_LOGVV(TAG,
"on_valve_command_request: %s", msg.
dump().c_str());
1132 #ifdef USE_DATETIME_DATETIME 1134 msg.
decode(msg_data, msg_size);
1135 #ifdef HAS_PROTO_MESSAGE_DUMP 1136 ESP_LOGVV(TAG,
"on_date_time_command_request: %s", msg.
dump().c_str());
1143 #ifdef USE_VOICE_ASSISTANT 1145 msg.
decode(msg_data, msg_size);
1146 #ifdef HAS_PROTO_MESSAGE_DUMP 1147 ESP_LOGVV(TAG,
"on_voice_assistant_timer_event_response: %s", msg.
dump().c_str());
1156 msg.
decode(msg_data, msg_size);
1157 #ifdef HAS_PROTO_MESSAGE_DUMP 1158 ESP_LOGVV(TAG,
"on_update_command_request: %s", msg.
dump().c_str());
1165 #ifdef USE_VOICE_ASSISTANT 1167 msg.
decode(msg_data, msg_size);
1168 #ifdef HAS_PROTO_MESSAGE_DUMP 1169 ESP_LOGVV(TAG,
"on_voice_assistant_announce_request: %s", msg.
dump().c_str());
1176 #ifdef USE_VOICE_ASSISTANT 1178 msg.
decode(msg_data, msg_size);
1179 #ifdef HAS_PROTO_MESSAGE_DUMP 1180 ESP_LOGVV(TAG,
"on_voice_assistant_configuration_request: %s", msg.
dump().c_str());
1187 #ifdef USE_VOICE_ASSISTANT 1189 msg.
decode(msg_data, msg_size);
1190 #ifdef HAS_PROTO_MESSAGE_DUMP 1191 ESP_LOGVV(TAG,
"on_voice_assistant_set_configuration: %s", msg.
dump().c_str());
1246 this->list_entities(msg);
1257 this->subscribe_states(msg);
1268 this->subscribe_logs(msg);
1280 this->subscribe_homeassistant_services(msg);
1291 this->subscribe_home_assistant_states(msg);
1312 this->execute_service(msg);
1324 this->cover_command(msg);
1337 this->fan_command(msg);
1350 this->light_command(msg);
1363 this->switch_command(msg);
1366 #ifdef USE_ESP32_CAMERA 1376 this->camera_image(msg);
1389 this->climate_command(msg);
1402 this->number_command(msg);
1415 this->text_command(msg);
1428 this->select_command(msg);
1441 this->button_command(msg);
1454 this->lock_command(msg);
1467 this->valve_command(msg);
1470 #ifdef USE_MEDIA_PLAYER 1480 this->media_player_command(msg);
1483 #ifdef USE_DATETIME_DATE 1493 this->date_command(msg);
1496 #ifdef USE_DATETIME_TIME 1506 this->time_command(msg);
1509 #ifdef USE_DATETIME_DATETIME 1519 this->datetime_command(msg);
1532 this->update_command(msg);
1535 #ifdef USE_BLUETOOTH_PROXY 1546 this->subscribe_bluetooth_le_advertisements(msg);
1549 #ifdef USE_BLUETOOTH_PROXY 1559 this->bluetooth_device_request(msg);
1562 #ifdef USE_BLUETOOTH_PROXY 1572 this->bluetooth_gatt_get_services(msg);
1575 #ifdef USE_BLUETOOTH_PROXY 1585 this->bluetooth_gatt_read(msg);
1588 #ifdef USE_BLUETOOTH_PROXY 1598 this->bluetooth_gatt_write(msg);
1601 #ifdef USE_BLUETOOTH_PROXY 1611 this->bluetooth_gatt_read_descriptor(msg);
1614 #ifdef USE_BLUETOOTH_PROXY 1624 this->bluetooth_gatt_write_descriptor(msg);
1627 #ifdef USE_BLUETOOTH_PROXY 1637 this->bluetooth_gatt_notify(msg);
1640 #ifdef USE_BLUETOOTH_PROXY 1657 #ifdef USE_BLUETOOTH_PROXY 1668 this->unsubscribe_bluetooth_le_advertisements(msg);
1671 #ifdef USE_VOICE_ASSISTANT 1681 this->subscribe_voice_assistant(msg);
1684 #ifdef USE_VOICE_ASSISTANT 1700 #ifdef USE_VOICE_ASSISTANT 1710 this->voice_assistant_set_configuration(msg);
1713 #ifdef USE_ALARM_CONTROL_PANEL 1723 this->alarm_control_panel_command(msg);
void on_text_command_request(const TextCommandRequest &msg) override
bool send_list_entities_binary_sensor_response(const ListEntitiesBinarySensorResponse &msg)
void on_unsubscribe_bluetooth_le_advertisements_request(const UnsubscribeBluetoothLEAdvertisementsRequest &msg) override
virtual void on_climate_command_request(const ClimateCommandRequest &value)
bool send_date_state_response(const DateStateResponse &msg)
virtual void on_subscribe_home_assistant_states_request(const SubscribeHomeAssistantStatesRequest &value)
bool send_fan_state_response(const FanStateResponse &msg)
bool send_ping_response(const PingResponse &msg)
virtual void on_subscribe_homeassistant_services_request(const SubscribeHomeassistantServicesRequest &value)
bool send_bluetooth_gatt_read_response(const BluetoothGATTReadResponse &msg)
virtual void on_hello_request(const HelloRequest &value)
void on_device_info_request(const DeviceInfoRequest &msg) override
bool send_text_state_response(const TextStateResponse &msg)
virtual void on_voice_assistant_set_configuration(const VoiceAssistantSetConfiguration &value)
bool send_get_time_response(const GetTimeResponse &msg)
bool send_ping_request(const PingRequest &msg)
virtual void on_unsubscribe_bluetooth_le_advertisements_request(const UnsubscribeBluetoothLEAdvertisementsRequest &value)
void on_bluetooth_gatt_get_services_request(const BluetoothGATTGetServicesRequest &msg) override
virtual void on_bluetooth_device_request(const BluetoothDeviceRequest &value)
bool send_bluetooth_gatt_notify_data_response(const BluetoothGATTNotifyDataResponse &msg)
virtual void on_voice_assistant_response(const VoiceAssistantResponse &value)
virtual void on_no_setup_connection()=0
bool send_event_response(const EventResponse &msg)
virtual void on_voice_assistant_audio(const VoiceAssistantAudio &value)
void on_subscribe_home_assistant_states_request(const SubscribeHomeAssistantStatesRequest &msg) override
virtual void on_ping_response(const PingResponse &value)
void on_date_time_command_request(const DateTimeCommandRequest &msg) override
void on_bluetooth_gatt_write_request(const BluetoothGATTWriteRequest &msg) override
virtual void on_light_command_request(const LightCommandRequest &value)
bool send_subscribe_logs_response(const SubscribeLogsResponse &msg)
void on_voice_assistant_configuration_request(const VoiceAssistantConfigurationRequest &msg) override
bool send_climate_state_response(const ClimateStateResponse &msg)
bool send_binary_sensor_state_response(const BinarySensorStateResponse &msg)
void on_update_command_request(const UpdateCommandRequest &msg) override
void on_cover_command_request(const CoverCommandRequest &msg) override
virtual void on_fatal_error()=0
bool send_bluetooth_gatt_error_response(const BluetoothGATTErrorResponse &msg)
void on_fan_command_request(const FanCommandRequest &msg) override
bool send_list_entities_valve_response(const ListEntitiesValveResponse &msg)
void on_subscribe_homeassistant_services_request(const SubscribeHomeassistantServicesRequest &msg) override
void decode(const uint8_t *buffer, size_t length)
bool send_list_entities_fan_response(const ListEntitiesFanResponse &msg)
bool send_number_state_response(const NumberStateResponse &msg)
virtual void on_home_assistant_state_response(const HomeAssistantStateResponse &value)
bool send_list_entities_select_response(const ListEntitiesSelectResponse &msg)
bool send_homeassistant_service_response(const HomeassistantServiceResponse &msg)
void on_date_command_request(const DateCommandRequest &msg) override
bool send_bluetooth_gatt_write_response(const BluetoothGATTWriteResponse &msg)
bool send_list_entities_event_response(const ListEntitiesEventResponse &msg)
virtual void on_bluetooth_gatt_write_request(const BluetoothGATTWriteRequest &value)
bool send_bluetooth_device_connection_response(const BluetoothDeviceConnectionResponse &msg)
virtual void on_voice_assistant_announce_request(const VoiceAssistantAnnounceRequest &value)
virtual void on_connect_request(const ConnectRequest &value)
bool send_list_entities_done_response(const ListEntitiesDoneResponse &msg)
bool send_device_info_response(const DeviceInfoResponse &msg)
void on_switch_command_request(const SwitchCommandRequest &msg) override
void on_bluetooth_gatt_read_descriptor_request(const BluetoothGATTReadDescriptorRequest &msg) override
void on_button_command_request(const ButtonCommandRequest &msg) override
void on_get_time_request(const GetTimeRequest &msg) override
virtual void on_subscribe_voice_assistant_request(const SubscribeVoiceAssistantRequest &value)
bool send_connect_response(const ConnectResponse &msg)
virtual void on_subscribe_bluetooth_le_advertisements_request(const SubscribeBluetoothLEAdvertisementsRequest &value)
void on_disconnect_request(const DisconnectRequest &msg) override
virtual void on_list_entities_request(const ListEntitiesRequest &value)
virtual void on_disconnect_request(const DisconnectRequest &value)
virtual void on_text_command_request(const TextCommandRequest &value)
virtual void on_select_command_request(const SelectCommandRequest &value)
virtual void on_date_time_command_request(const DateTimeCommandRequest &value)
virtual void on_disconnect_response(const DisconnectResponse &value)
virtual void on_bluetooth_gatt_get_services_request(const BluetoothGATTGetServicesRequest &value)
void on_ping_request(const PingRequest &msg) override
bool send_bluetooth_le_advertisement_response(const BluetoothLEAdvertisementResponse &msg)
virtual void on_camera_image_request(const CameraImageRequest &value)
bool send_list_entities_services_response(const ListEntitiesServicesResponse &msg)
virtual void on_lock_command_request(const LockCommandRequest &value)
bool send_bluetooth_gatt_get_services_response(const BluetoothGATTGetServicesResponse &msg)
void on_media_player_command_request(const MediaPlayerCommandRequest &msg) override
virtual void on_media_player_command_request(const MediaPlayerCommandRequest &value)
bool send_list_entities_text_sensor_response(const ListEntitiesTextSensorResponse &msg)
void on_subscribe_bluetooth_le_advertisements_request(const SubscribeBluetoothLEAdvertisementsRequest &msg) override
void on_voice_assistant_set_configuration(const VoiceAssistantSetConfiguration &msg) override
virtual void on_subscribe_bluetooth_connections_free_request(const SubscribeBluetoothConnectionsFreeRequest &value)
void on_execute_service_request(const ExecuteServiceRequest &msg) override
bool send_bluetooth_device_unpairing_response(const BluetoothDeviceUnpairingResponse &msg)
void on_connect_request(const ConnectRequest &msg) override
virtual void on_alarm_control_panel_command_request(const AlarmControlPanelCommandRequest &value)
bool send_list_entities_light_response(const ListEntitiesLightResponse &msg)
void on_valve_command_request(const ValveCommandRequest &msg) override
virtual void on_cover_command_request(const CoverCommandRequest &value)
virtual void on_update_command_request(const UpdateCommandRequest &value)
bool send_text_sensor_state_response(const TextSensorStateResponse &msg)
virtual void on_voice_assistant_event_response(const VoiceAssistantEventResponse &value)
bool send_bluetooth_gatt_notify_response(const BluetoothGATTNotifyResponse &msg)
bool send_list_entities_cover_response(const ListEntitiesCoverResponse &msg)
bool send_disconnect_request(const DisconnectRequest &msg)
void on_subscribe_voice_assistant_request(const SubscribeVoiceAssistantRequest &msg) override
bool send_list_entities_camera_response(const ListEntitiesCameraResponse &msg)
bool send_list_entities_button_response(const ListEntitiesButtonResponse &msg)
bool send_list_entities_media_player_response(const ListEntitiesMediaPlayerResponse &msg)
void on_bluetooth_gatt_read_request(const BluetoothGATTReadRequest &msg) override
bool send_voice_assistant_request(const VoiceAssistantRequest &msg)
virtual void on_date_command_request(const DateCommandRequest &value)
void on_subscribe_bluetooth_connections_free_request(const SubscribeBluetoothConnectionsFreeRequest &msg) override
virtual void on_execute_service_request(const ExecuteServiceRequest &value)
virtual void on_voice_assistant_timer_event_response(const VoiceAssistantTimerEventResponse &value)
void on_light_command_request(const LightCommandRequest &msg) override
void on_list_entities_request(const ListEntitiesRequest &msg) override
bool send_list_entities_number_response(const ListEntitiesNumberResponse &msg)
bool send_switch_state_response(const SwitchStateResponse &msg)
bool read_message(uint32_t msg_size, uint32_t msg_type, uint8_t *msg_data) override
void on_select_command_request(const SelectCommandRequest &msg) override
void on_subscribe_logs_request(const SubscribeLogsRequest &msg) override
bool send_camera_image_response(const CameraImageResponse &msg)
bool send_voice_assistant_announce_finished(const VoiceAssistantAnnounceFinished &msg)
bool send_list_entities_lock_response(const ListEntitiesLockResponse &msg)
void on_bluetooth_gatt_write_descriptor_request(const BluetoothGATTWriteDescriptorRequest &msg) override
bool send_date_time_state_response(const DateTimeStateResponse &msg)
bool send_voice_assistant_audio(const VoiceAssistantAudio &msg)
bool send_list_entities_sensor_response(const ListEntitiesSensorResponse &msg)
virtual void on_voice_assistant_configuration_request(const VoiceAssistantConfigurationRequest &value)
bool send_list_entities_alarm_control_panel_response(const ListEntitiesAlarmControlPanelResponse &msg)
virtual void on_subscribe_states_request(const SubscribeStatesRequest &value)
void on_bluetooth_gatt_notify_request(const BluetoothGATTNotifyRequest &msg) override
bool send_select_state_response(const SelectStateResponse &msg)
bool send_bluetooth_connections_free_response(const BluetoothConnectionsFreeResponse &msg)
virtual void on_bluetooth_gatt_read_descriptor_request(const BluetoothGATTReadDescriptorRequest &value)
void on_subscribe_states_request(const SubscribeStatesRequest &msg) override
void on_camera_image_request(const CameraImageRequest &msg) override
virtual void on_bluetooth_gatt_write_descriptor_request(const BluetoothGATTWriteDescriptorRequest &value)
bool send_light_state_response(const LightStateResponse &msg)
virtual void on_bluetooth_gatt_notify_request(const BluetoothGATTNotifyRequest &value)
bool send_list_entities_date_time_response(const ListEntitiesDateTimeResponse &msg)
virtual void on_number_command_request(const NumberCommandRequest &value)
bool send_media_player_state_response(const MediaPlayerStateResponse &msg)
bool send_subscribe_home_assistant_state_response(const SubscribeHomeAssistantStateResponse &msg)
bool send_get_time_request(const GetTimeRequest &msg)
virtual bool is_authenticated()=0
bool send_list_entities_switch_response(const ListEntitiesSwitchResponse &msg)
virtual void on_get_time_request(const GetTimeRequest &value)
void on_alarm_control_panel_command_request(const AlarmControlPanelCommandRequest &msg) override
bool send_list_entities_date_response(const ListEntitiesDateResponse &msg)
virtual void on_unauthenticated_access()=0
virtual void on_time_command_request(const TimeCommandRequest &value)
virtual void on_fan_command_request(const FanCommandRequest &value)
Implementation of SPI Controller mode.
bool send_sensor_state_response(const SensorStateResponse &msg)
bool send_cover_state_response(const CoverStateResponse &msg)
bool send_list_entities_text_response(const ListEntitiesTextResponse &msg)
bool send_list_entities_update_response(const ListEntitiesUpdateResponse &msg)
bool send_list_entities_time_response(const ListEntitiesTimeResponse &msg)
bool send_hello_response(const HelloResponse &msg)
bool send_alarm_control_panel_state_response(const AlarmControlPanelStateResponse &msg)
bool send_list_entities_climate_response(const ListEntitiesClimateResponse &msg)
bool send_disconnect_response(const DisconnectResponse &msg)
void on_climate_command_request(const ClimateCommandRequest &msg) override
virtual void on_valve_command_request(const ValveCommandRequest &value)
bool send_bluetooth_device_pairing_response(const BluetoothDevicePairingResponse &msg)
bool send_bluetooth_gatt_get_services_done_response(const BluetoothGATTGetServicesDoneResponse &msg)
virtual void on_button_command_request(const ButtonCommandRequest &value)
void on_lock_command_request(const LockCommandRequest &msg) override
bool send_lock_state_response(const LockStateResponse &msg)
bool send_bluetooth_device_clear_cache_response(const BluetoothDeviceClearCacheResponse &msg)
void on_bluetooth_device_request(const BluetoothDeviceRequest &msg) override
bool send_valve_state_response(const ValveStateResponse &msg)
void on_time_command_request(const TimeCommandRequest &msg) override
virtual void on_device_info_request(const DeviceInfoRequest &value)
bool send_time_state_response(const TimeStateResponse &msg)
bool send_bluetooth_le_raw_advertisements_response(const BluetoothLERawAdvertisementsResponse &msg)
virtual void on_switch_command_request(const SwitchCommandRequest &value)
virtual void on_get_time_response(const GetTimeResponse &value)
virtual void on_bluetooth_gatt_read_request(const BluetoothGATTReadRequest &value)
virtual bool is_connection_setup()=0
void on_number_command_request(const NumberCommandRequest &msg) override
virtual void on_ping_request(const PingRequest &value)
void on_hello_request(const HelloRequest &msg) override
bool send_voice_assistant_configuration_response(const VoiceAssistantConfigurationResponse &msg)
virtual void on_subscribe_logs_request(const SubscribeLogsRequest &value)
bool send_update_state_response(const UpdateStateResponse &msg)