ESPHome  2024.11.1
api_pb2_service.h
Go to the documentation of this file.
1 // This file was automatically generated with a tool.
2 // See scripts/api_protobuf/api_protobuf.py
3 #pragma once
4 
5 #include "api_pb2.h"
6 #include "esphome/core/defines.h"
7 
8 namespace esphome {
9 namespace 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){};
16  bool send_connect_response(const ConnectResponse &msg);
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){};
91  bool send_get_time_request(const GetTimeRequest &msg);
92  virtual void on_get_time_request(const GetTimeRequest &value){};
93  bool send_get_time_response(const GetTimeResponse &msg);
94  virtual void on_get_time_response(const GetTimeResponse &value){};
96  virtual void on_execute_service_request(const ExecuteServiceRequest &value){};
97 #ifdef USE_ESP32_CAMERA
99 #endif
100 #ifdef USE_ESP32_CAMERA
102 #endif
103 #ifdef USE_ESP32_CAMERA
104  virtual void on_camera_image_request(const CameraImageRequest &value){};
105 #endif
106 #ifdef USE_CLIMATE
108 #endif
109 #ifdef USE_CLIMATE
111 #endif
112 #ifdef USE_CLIMATE
113  virtual void on_climate_command_request(const ClimateCommandRequest &value){};
114 #endif
115 #ifdef USE_NUMBER
117 #endif
118 #ifdef USE_NUMBER
120 #endif
121 #ifdef USE_NUMBER
122  virtual void on_number_command_request(const NumberCommandRequest &value){};
123 #endif
124 #ifdef USE_SELECT
126 #endif
127 #ifdef USE_SELECT
129 #endif
130 #ifdef USE_SELECT
131  virtual void on_select_command_request(const SelectCommandRequest &value){};
132 #endif
133 #ifdef USE_LOCK
135 #endif
136 #ifdef USE_LOCK
138 #endif
139 #ifdef USE_LOCK
140  virtual void on_lock_command_request(const LockCommandRequest &value){};
141 #endif
142 #ifdef USE_BUTTON
144 #endif
145 #ifdef USE_BUTTON
146  virtual void on_button_command_request(const ButtonCommandRequest &value){};
147 #endif
148 #ifdef USE_MEDIA_PLAYER
150 #endif
151 #ifdef USE_MEDIA_PLAYER
153 #endif
154 #ifdef USE_MEDIA_PLAYER
156 #endif
157 #ifdef USE_BLUETOOTH_PROXY
160 #endif
161 #ifdef USE_BLUETOOTH_PROXY
163 #endif
164 #ifdef USE_BLUETOOTH_PROXY
166 #endif
167 #ifdef USE_BLUETOOTH_PROXY
169 #endif
170 #ifdef USE_BLUETOOTH_PROXY
172 #endif
173 #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
227 #endif
228 #ifdef USE_BLUETOOTH_PROXY
230 #endif
231 #ifdef USE_VOICE_ASSISTANT
233 #endif
234 #ifdef USE_VOICE_ASSISTANT
236 #endif
237 #ifdef USE_VOICE_ASSISTANT
239 #endif
240 #ifdef USE_VOICE_ASSISTANT
242 #endif
243 #ifdef USE_VOICE_ASSISTANT
245  virtual void on_voice_assistant_audio(const VoiceAssistantAudio &value){};
246 #endif
247 #ifdef USE_VOICE_ASSISTANT
249 #endif
250 #ifdef USE_VOICE_ASSISTANT
252 #endif
253 #ifdef USE_VOICE_ASSISTANT
255 #endif
256 #ifdef USE_VOICE_ASSISTANT
258 #endif
259 #ifdef USE_VOICE_ASSISTANT
261 #endif
262 #ifdef USE_VOICE_ASSISTANT
264 #endif
265 #ifdef USE_ALARM_CONTROL_PANEL
267 #endif
268 #ifdef USE_ALARM_CONTROL_PANEL
270 #endif
271 #ifdef USE_ALARM_CONTROL_PANEL
273 #endif
274 #ifdef USE_TEXT
276 #endif
277 #ifdef USE_TEXT
279 #endif
280 #ifdef USE_TEXT
281  virtual void on_text_command_request(const TextCommandRequest &value){};
282 #endif
283 #ifdef USE_DATETIME_DATE
285 #endif
286 #ifdef USE_DATETIME_DATE
288 #endif
289 #ifdef USE_DATETIME_DATE
290  virtual void on_date_command_request(const DateCommandRequest &value){};
291 #endif
292 #ifdef USE_DATETIME_TIME
294 #endif
295 #ifdef USE_DATETIME_TIME
297 #endif
298 #ifdef USE_DATETIME_TIME
299  virtual void on_time_command_request(const TimeCommandRequest &value){};
300 #endif
301 #ifdef USE_EVENT
303 #endif
304 #ifdef USE_EVENT
305  bool send_event_response(const EventResponse &msg);
306 #endif
307 #ifdef USE_VALVE
309 #endif
310 #ifdef USE_VALVE
312 #endif
313 #ifdef USE_VALVE
314  virtual void on_valve_command_request(const ValveCommandRequest &value){};
315 #endif
316 #ifdef USE_DATETIME_DATETIME
318 #endif
319 #ifdef USE_DATETIME_DATETIME
321 #endif
322 #ifdef USE_DATETIME_DATETIME
324 #endif
325 #ifdef USE_UPDATE
327 #endif
328 #ifdef USE_UPDATE
330 #endif
331 #ifdef USE_UPDATE
332  virtual void on_update_command_request(const UpdateCommandRequest &value){};
333 #endif
334  protected:
335  bool read_message(uint32_t msg_size, uint32_t msg_type, uint8_t *msg_data) override;
336 };
337 
339  public:
340  virtual HelloResponse hello(const HelloRequest &msg) = 0;
341  virtual ConnectResponse connect(const ConnectRequest &msg) = 0;
342  virtual DisconnectResponse disconnect(const DisconnectRequest &msg) = 0;
343  virtual PingResponse ping(const PingRequest &msg) = 0;
344  virtual DeviceInfoResponse device_info(const DeviceInfoRequest &msg) = 0;
345  virtual void list_entities(const ListEntitiesRequest &msg) = 0;
346  virtual void subscribe_states(const SubscribeStatesRequest &msg) = 0;
347  virtual void subscribe_logs(const SubscribeLogsRequest &msg) = 0;
348  virtual void subscribe_homeassistant_services(const SubscribeHomeassistantServicesRequest &msg) = 0;
349  virtual void subscribe_home_assistant_states(const SubscribeHomeAssistantStatesRequest &msg) = 0;
350  virtual GetTimeResponse get_time(const GetTimeRequest &msg) = 0;
351  virtual void execute_service(const ExecuteServiceRequest &msg) = 0;
352 #ifdef USE_COVER
353  virtual void cover_command(const CoverCommandRequest &msg) = 0;
354 #endif
355 #ifdef USE_FAN
356  virtual void fan_command(const FanCommandRequest &msg) = 0;
357 #endif
358 #ifdef USE_LIGHT
359  virtual void light_command(const LightCommandRequest &msg) = 0;
360 #endif
361 #ifdef USE_SWITCH
362  virtual void switch_command(const SwitchCommandRequest &msg) = 0;
363 #endif
364 #ifdef USE_ESP32_CAMERA
365  virtual void camera_image(const CameraImageRequest &msg) = 0;
366 #endif
367 #ifdef USE_CLIMATE
368  virtual void climate_command(const ClimateCommandRequest &msg) = 0;
369 #endif
370 #ifdef USE_NUMBER
371  virtual void number_command(const NumberCommandRequest &msg) = 0;
372 #endif
373 #ifdef USE_TEXT
374  virtual void text_command(const TextCommandRequest &msg) = 0;
375 #endif
376 #ifdef USE_SELECT
377  virtual void select_command(const SelectCommandRequest &msg) = 0;
378 #endif
379 #ifdef USE_BUTTON
380  virtual void button_command(const ButtonCommandRequest &msg) = 0;
381 #endif
382 #ifdef USE_LOCK
383  virtual void lock_command(const LockCommandRequest &msg) = 0;
384 #endif
385 #ifdef USE_VALVE
386  virtual void valve_command(const ValveCommandRequest &msg) = 0;
387 #endif
388 #ifdef USE_MEDIA_PLAYER
389  virtual void media_player_command(const MediaPlayerCommandRequest &msg) = 0;
390 #endif
391 #ifdef USE_DATETIME_DATE
392  virtual void date_command(const DateCommandRequest &msg) = 0;
393 #endif
394 #ifdef USE_DATETIME_TIME
395  virtual void time_command(const TimeCommandRequest &msg) = 0;
396 #endif
397 #ifdef USE_DATETIME_DATETIME
398  virtual void datetime_command(const DateTimeCommandRequest &msg) = 0;
399 #endif
400 #ifdef USE_UPDATE
401  virtual void update_command(const UpdateCommandRequest &msg) = 0;
402 #endif
403 #ifdef USE_BLUETOOTH_PROXY
404  virtual void subscribe_bluetooth_le_advertisements(const SubscribeBluetoothLEAdvertisementsRequest &msg) = 0;
405 #endif
406 #ifdef USE_BLUETOOTH_PROXY
407  virtual void bluetooth_device_request(const BluetoothDeviceRequest &msg) = 0;
408 #endif
409 #ifdef USE_BLUETOOTH_PROXY
410  virtual void bluetooth_gatt_get_services(const BluetoothGATTGetServicesRequest &msg) = 0;
411 #endif
412 #ifdef USE_BLUETOOTH_PROXY
413  virtual void bluetooth_gatt_read(const BluetoothGATTReadRequest &msg) = 0;
414 #endif
415 #ifdef USE_BLUETOOTH_PROXY
416  virtual void bluetooth_gatt_write(const BluetoothGATTWriteRequest &msg) = 0;
417 #endif
418 #ifdef USE_BLUETOOTH_PROXY
419  virtual void bluetooth_gatt_read_descriptor(const BluetoothGATTReadDescriptorRequest &msg) = 0;
420 #endif
421 #ifdef USE_BLUETOOTH_PROXY
422  virtual void bluetooth_gatt_write_descriptor(const BluetoothGATTWriteDescriptorRequest &msg) = 0;
423 #endif
424 #ifdef USE_BLUETOOTH_PROXY
425  virtual void bluetooth_gatt_notify(const BluetoothGATTNotifyRequest &msg) = 0;
426 #endif
427 #ifdef USE_BLUETOOTH_PROXY
428  virtual BluetoothConnectionsFreeResponse subscribe_bluetooth_connections_free(
430 #endif
431 #ifdef USE_BLUETOOTH_PROXY
432  virtual void unsubscribe_bluetooth_le_advertisements(const UnsubscribeBluetoothLEAdvertisementsRequest &msg) = 0;
433 #endif
434 #ifdef USE_VOICE_ASSISTANT
435  virtual void subscribe_voice_assistant(const SubscribeVoiceAssistantRequest &msg) = 0;
436 #endif
437 #ifdef USE_VOICE_ASSISTANT
438  virtual VoiceAssistantConfigurationResponse voice_assistant_get_configuration(
439  const VoiceAssistantConfigurationRequest &msg) = 0;
440 #endif
441 #ifdef USE_VOICE_ASSISTANT
442  virtual void voice_assistant_set_configuration(const VoiceAssistantSetConfiguration &msg) = 0;
443 #endif
444 #ifdef USE_ALARM_CONTROL_PANEL
445  virtual void alarm_control_panel_command(const AlarmControlPanelCommandRequest &msg) = 0;
446 #endif
447  protected:
448  void on_hello_request(const HelloRequest &msg) override;
449  void on_connect_request(const ConnectRequest &msg) override;
450  void on_disconnect_request(const DisconnectRequest &msg) override;
451  void on_ping_request(const PingRequest &msg) override;
452  void on_device_info_request(const DeviceInfoRequest &msg) override;
453  void on_list_entities_request(const ListEntitiesRequest &msg) override;
454  void on_subscribe_states_request(const SubscribeStatesRequest &msg) override;
455  void on_subscribe_logs_request(const SubscribeLogsRequest &msg) override;
458  void on_get_time_request(const GetTimeRequest &msg) override;
459  void on_execute_service_request(const ExecuteServiceRequest &msg) override;
460 #ifdef USE_COVER
461  void on_cover_command_request(const CoverCommandRequest &msg) override;
462 #endif
463 #ifdef USE_FAN
464  void on_fan_command_request(const FanCommandRequest &msg) override;
465 #endif
466 #ifdef USE_LIGHT
467  void on_light_command_request(const LightCommandRequest &msg) override;
468 #endif
469 #ifdef USE_SWITCH
470  void on_switch_command_request(const SwitchCommandRequest &msg) override;
471 #endif
472 #ifdef USE_ESP32_CAMERA
473  void on_camera_image_request(const CameraImageRequest &msg) override;
474 #endif
475 #ifdef USE_CLIMATE
476  void on_climate_command_request(const ClimateCommandRequest &msg) override;
477 #endif
478 #ifdef USE_NUMBER
479  void on_number_command_request(const NumberCommandRequest &msg) override;
480 #endif
481 #ifdef USE_TEXT
482  void on_text_command_request(const TextCommandRequest &msg) override;
483 #endif
484 #ifdef USE_SELECT
485  void on_select_command_request(const SelectCommandRequest &msg) override;
486 #endif
487 #ifdef USE_BUTTON
488  void on_button_command_request(const ButtonCommandRequest &msg) override;
489 #endif
490 #ifdef USE_LOCK
491  void on_lock_command_request(const LockCommandRequest &msg) override;
492 #endif
493 #ifdef USE_VALVE
494  void on_valve_command_request(const ValveCommandRequest &msg) override;
495 #endif
496 #ifdef USE_MEDIA_PLAYER
498 #endif
499 #ifdef USE_DATETIME_DATE
500  void on_date_command_request(const DateCommandRequest &msg) override;
501 #endif
502 #ifdef USE_DATETIME_TIME
503  void on_time_command_request(const TimeCommandRequest &msg) override;
504 #endif
505 #ifdef USE_DATETIME_DATETIME
506  void on_date_time_command_request(const DateTimeCommandRequest &msg) override;
507 #endif
508 #ifdef USE_UPDATE
509  void on_update_command_request(const UpdateCommandRequest &msg) override;
510 #endif
511 #ifdef USE_BLUETOOTH_PROXY
513 #endif
514 #ifdef USE_BLUETOOTH_PROXY
515  void on_bluetooth_device_request(const BluetoothDeviceRequest &msg) override;
516 #endif
517 #ifdef USE_BLUETOOTH_PROXY
519 #endif
520 #ifdef USE_BLUETOOTH_PROXY
522 #endif
523 #ifdef USE_BLUETOOTH_PROXY
525 #endif
526 #ifdef USE_BLUETOOTH_PROXY
528 #endif
529 #ifdef USE_BLUETOOTH_PROXY
531 #endif
532 #ifdef USE_BLUETOOTH_PROXY
534 #endif
535 #ifdef USE_BLUETOOTH_PROXY
537 #endif
538 #ifdef USE_BLUETOOTH_PROXY
540  const UnsubscribeBluetoothLEAdvertisementsRequest &msg) override;
541 #endif
542 #ifdef USE_VOICE_ASSISTANT
544 #endif
545 #ifdef USE_VOICE_ASSISTANT
547 #endif
548 #ifdef USE_VOICE_ASSISTANT
550 #endif
551 #ifdef USE_ALARM_CONTROL_PANEL
553 #endif
554 };
555 
556 } // namespace api
557 } // namespace esphome
bool send_list_entities_binary_sensor_response(const ListEntitiesBinarySensorResponse &msg)
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)
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)
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)
bool send_event_response(const EventResponse &msg)
virtual void on_voice_assistant_audio(const VoiceAssistantAudio &value)
virtual void on_ping_response(const PingResponse &value)
virtual void on_light_command_request(const LightCommandRequest &value)
bool send_subscribe_logs_response(const SubscribeLogsResponse &msg)
bool send_climate_state_response(const ClimateStateResponse &msg)
bool send_binary_sensor_state_response(const BinarySensorStateResponse &msg)
bool send_bluetooth_gatt_error_response(const BluetoothGATTErrorResponse &msg)
bool send_list_entities_valve_response(const ListEntitiesValveResponse &msg)
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)
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)
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)
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)
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)
virtual void on_media_player_command_request(const MediaPlayerCommandRequest &value)
bool send_list_entities_text_sensor_response(const ListEntitiesTextSensorResponse &msg)
virtual void on_subscribe_bluetooth_connections_free_request(const SubscribeBluetoothConnectionsFreeRequest &value)
bool send_bluetooth_device_unpairing_response(const BluetoothDeviceUnpairingResponse &msg)
virtual void on_alarm_control_panel_command_request(const AlarmControlPanelCommandRequest &value)
bool send_list_entities_light_response(const ListEntitiesLightResponse &msg)
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)
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)
bool send_voice_assistant_request(const VoiceAssistantRequest &msg)
virtual void on_date_command_request(const DateCommandRequest &value)
virtual void on_execute_service_request(const ExecuteServiceRequest &value)
virtual void on_voice_assistant_timer_event_response(const VoiceAssistantTimerEventResponse &value)
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
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)
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)
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)
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)
bool send_list_entities_switch_response(const ListEntitiesSwitchResponse &msg)
virtual void on_get_time_request(const GetTimeRequest &value)
bool send_list_entities_date_response(const ListEntitiesDateResponse &msg)
virtual void on_time_command_request(const TimeCommandRequest &value)
virtual void on_fan_command_request(const FanCommandRequest &value)
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
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)
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)
bool send_lock_state_response(const LockStateResponse &msg)
bool send_bluetooth_device_clear_cache_response(const BluetoothDeviceClearCacheResponse &msg)
bool send_valve_state_response(const ValveStateResponse &msg)
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 void on_ping_request(const PingRequest &value)
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)