ESPHome  2024.6.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_ALARM_CONTROL_PANEL
252 #endif
253 #ifdef USE_ALARM_CONTROL_PANEL
255 #endif
256 #ifdef USE_ALARM_CONTROL_PANEL
258 #endif
259 #ifdef USE_TEXT
261 #endif
262 #ifdef USE_TEXT
264 #endif
265 #ifdef USE_TEXT
266  virtual void on_text_command_request(const TextCommandRequest &value){};
267 #endif
268 #ifdef USE_DATETIME_DATE
270 #endif
271 #ifdef USE_DATETIME_DATE
273 #endif
274 #ifdef USE_DATETIME_DATE
275  virtual void on_date_command_request(const DateCommandRequest &value){};
276 #endif
277 #ifdef USE_DATETIME_TIME
279 #endif
280 #ifdef USE_DATETIME_TIME
282 #endif
283 #ifdef USE_DATETIME_TIME
284  virtual void on_time_command_request(const TimeCommandRequest &value){};
285 #endif
286 #ifdef USE_EVENT
288 #endif
289 #ifdef USE_EVENT
290  bool send_event_response(const EventResponse &msg);
291 #endif
292 #ifdef USE_VALVE
294 #endif
295 #ifdef USE_VALVE
297 #endif
298 #ifdef USE_VALVE
299  virtual void on_valve_command_request(const ValveCommandRequest &value){};
300 #endif
301 #ifdef USE_DATETIME_DATETIME
303 #endif
304 #ifdef USE_DATETIME_DATETIME
306 #endif
307 #ifdef USE_DATETIME_DATETIME
309 #endif
310 #ifdef USE_UPDATE
312 #endif
313 #ifdef USE_UPDATE
315 #endif
316 #ifdef USE_UPDATE
317  virtual void on_update_command_request(const UpdateCommandRequest &value){};
318 #endif
319  protected:
320  bool read_message(uint32_t msg_size, uint32_t msg_type, uint8_t *msg_data) override;
321 };
322 
324  public:
325  virtual HelloResponse hello(const HelloRequest &msg) = 0;
326  virtual ConnectResponse connect(const ConnectRequest &msg) = 0;
327  virtual DisconnectResponse disconnect(const DisconnectRequest &msg) = 0;
328  virtual PingResponse ping(const PingRequest &msg) = 0;
329  virtual DeviceInfoResponse device_info(const DeviceInfoRequest &msg) = 0;
330  virtual void list_entities(const ListEntitiesRequest &msg) = 0;
331  virtual void subscribe_states(const SubscribeStatesRequest &msg) = 0;
332  virtual void subscribe_logs(const SubscribeLogsRequest &msg) = 0;
333  virtual void subscribe_homeassistant_services(const SubscribeHomeassistantServicesRequest &msg) = 0;
334  virtual void subscribe_home_assistant_states(const SubscribeHomeAssistantStatesRequest &msg) = 0;
335  virtual GetTimeResponse get_time(const GetTimeRequest &msg) = 0;
336  virtual void execute_service(const ExecuteServiceRequest &msg) = 0;
337 #ifdef USE_COVER
338  virtual void cover_command(const CoverCommandRequest &msg) = 0;
339 #endif
340 #ifdef USE_FAN
341  virtual void fan_command(const FanCommandRequest &msg) = 0;
342 #endif
343 #ifdef USE_LIGHT
344  virtual void light_command(const LightCommandRequest &msg) = 0;
345 #endif
346 #ifdef USE_SWITCH
347  virtual void switch_command(const SwitchCommandRequest &msg) = 0;
348 #endif
349 #ifdef USE_ESP32_CAMERA
350  virtual void camera_image(const CameraImageRequest &msg) = 0;
351 #endif
352 #ifdef USE_CLIMATE
353  virtual void climate_command(const ClimateCommandRequest &msg) = 0;
354 #endif
355 #ifdef USE_NUMBER
356  virtual void number_command(const NumberCommandRequest &msg) = 0;
357 #endif
358 #ifdef USE_TEXT
359  virtual void text_command(const TextCommandRequest &msg) = 0;
360 #endif
361 #ifdef USE_SELECT
362  virtual void select_command(const SelectCommandRequest &msg) = 0;
363 #endif
364 #ifdef USE_BUTTON
365  virtual void button_command(const ButtonCommandRequest &msg) = 0;
366 #endif
367 #ifdef USE_LOCK
368  virtual void lock_command(const LockCommandRequest &msg) = 0;
369 #endif
370 #ifdef USE_VALVE
371  virtual void valve_command(const ValveCommandRequest &msg) = 0;
372 #endif
373 #ifdef USE_MEDIA_PLAYER
374  virtual void media_player_command(const MediaPlayerCommandRequest &msg) = 0;
375 #endif
376 #ifdef USE_DATETIME_DATE
377  virtual void date_command(const DateCommandRequest &msg) = 0;
378 #endif
379 #ifdef USE_DATETIME_TIME
380  virtual void time_command(const TimeCommandRequest &msg) = 0;
381 #endif
382 #ifdef USE_DATETIME_DATETIME
383  virtual void datetime_command(const DateTimeCommandRequest &msg) = 0;
384 #endif
385 #ifdef USE_UPDATE
386  virtual void update_command(const UpdateCommandRequest &msg) = 0;
387 #endif
388 #ifdef USE_BLUETOOTH_PROXY
389  virtual void subscribe_bluetooth_le_advertisements(const SubscribeBluetoothLEAdvertisementsRequest &msg) = 0;
390 #endif
391 #ifdef USE_BLUETOOTH_PROXY
392  virtual void bluetooth_device_request(const BluetoothDeviceRequest &msg) = 0;
393 #endif
394 #ifdef USE_BLUETOOTH_PROXY
395  virtual void bluetooth_gatt_get_services(const BluetoothGATTGetServicesRequest &msg) = 0;
396 #endif
397 #ifdef USE_BLUETOOTH_PROXY
398  virtual void bluetooth_gatt_read(const BluetoothGATTReadRequest &msg) = 0;
399 #endif
400 #ifdef USE_BLUETOOTH_PROXY
401  virtual void bluetooth_gatt_write(const BluetoothGATTWriteRequest &msg) = 0;
402 #endif
403 #ifdef USE_BLUETOOTH_PROXY
404  virtual void bluetooth_gatt_read_descriptor(const BluetoothGATTReadDescriptorRequest &msg) = 0;
405 #endif
406 #ifdef USE_BLUETOOTH_PROXY
407  virtual void bluetooth_gatt_write_descriptor(const BluetoothGATTWriteDescriptorRequest &msg) = 0;
408 #endif
409 #ifdef USE_BLUETOOTH_PROXY
410  virtual void bluetooth_gatt_notify(const BluetoothGATTNotifyRequest &msg) = 0;
411 #endif
412 #ifdef USE_BLUETOOTH_PROXY
413  virtual BluetoothConnectionsFreeResponse subscribe_bluetooth_connections_free(
415 #endif
416 #ifdef USE_BLUETOOTH_PROXY
417  virtual void unsubscribe_bluetooth_le_advertisements(const UnsubscribeBluetoothLEAdvertisementsRequest &msg) = 0;
418 #endif
419 #ifdef USE_VOICE_ASSISTANT
420  virtual void subscribe_voice_assistant(const SubscribeVoiceAssistantRequest &msg) = 0;
421 #endif
422 #ifdef USE_ALARM_CONTROL_PANEL
423  virtual void alarm_control_panel_command(const AlarmControlPanelCommandRequest &msg) = 0;
424 #endif
425  protected:
426  void on_hello_request(const HelloRequest &msg) override;
427  void on_connect_request(const ConnectRequest &msg) override;
428  void on_disconnect_request(const DisconnectRequest &msg) override;
429  void on_ping_request(const PingRequest &msg) override;
430  void on_device_info_request(const DeviceInfoRequest &msg) override;
431  void on_list_entities_request(const ListEntitiesRequest &msg) override;
432  void on_subscribe_states_request(const SubscribeStatesRequest &msg) override;
433  void on_subscribe_logs_request(const SubscribeLogsRequest &msg) override;
436  void on_get_time_request(const GetTimeRequest &msg) override;
437  void on_execute_service_request(const ExecuteServiceRequest &msg) override;
438 #ifdef USE_COVER
439  void on_cover_command_request(const CoverCommandRequest &msg) override;
440 #endif
441 #ifdef USE_FAN
442  void on_fan_command_request(const FanCommandRequest &msg) override;
443 #endif
444 #ifdef USE_LIGHT
445  void on_light_command_request(const LightCommandRequest &msg) override;
446 #endif
447 #ifdef USE_SWITCH
448  void on_switch_command_request(const SwitchCommandRequest &msg) override;
449 #endif
450 #ifdef USE_ESP32_CAMERA
451  void on_camera_image_request(const CameraImageRequest &msg) override;
452 #endif
453 #ifdef USE_CLIMATE
454  void on_climate_command_request(const ClimateCommandRequest &msg) override;
455 #endif
456 #ifdef USE_NUMBER
457  void on_number_command_request(const NumberCommandRequest &msg) override;
458 #endif
459 #ifdef USE_TEXT
460  void on_text_command_request(const TextCommandRequest &msg) override;
461 #endif
462 #ifdef USE_SELECT
463  void on_select_command_request(const SelectCommandRequest &msg) override;
464 #endif
465 #ifdef USE_BUTTON
466  void on_button_command_request(const ButtonCommandRequest &msg) override;
467 #endif
468 #ifdef USE_LOCK
469  void on_lock_command_request(const LockCommandRequest &msg) override;
470 #endif
471 #ifdef USE_VALVE
472  void on_valve_command_request(const ValveCommandRequest &msg) override;
473 #endif
474 #ifdef USE_MEDIA_PLAYER
476 #endif
477 #ifdef USE_DATETIME_DATE
478  void on_date_command_request(const DateCommandRequest &msg) override;
479 #endif
480 #ifdef USE_DATETIME_TIME
481  void on_time_command_request(const TimeCommandRequest &msg) override;
482 #endif
483 #ifdef USE_DATETIME_DATETIME
484  void on_date_time_command_request(const DateTimeCommandRequest &msg) override;
485 #endif
486 #ifdef USE_UPDATE
487  void on_update_command_request(const UpdateCommandRequest &msg) override;
488 #endif
489 #ifdef USE_BLUETOOTH_PROXY
491 #endif
492 #ifdef USE_BLUETOOTH_PROXY
493  void on_bluetooth_device_request(const BluetoothDeviceRequest &msg) override;
494 #endif
495 #ifdef USE_BLUETOOTH_PROXY
497 #endif
498 #ifdef USE_BLUETOOTH_PROXY
500 #endif
501 #ifdef USE_BLUETOOTH_PROXY
503 #endif
504 #ifdef USE_BLUETOOTH_PROXY
506 #endif
507 #ifdef USE_BLUETOOTH_PROXY
509 #endif
510 #ifdef USE_BLUETOOTH_PROXY
512 #endif
513 #ifdef USE_BLUETOOTH_PROXY
515 #endif
516 #ifdef USE_BLUETOOTH_PROXY
518  const UnsubscribeBluetoothLEAdvertisementsRequest &msg) override;
519 #endif
520 #ifdef USE_VOICE_ASSISTANT
522 #endif
523 #ifdef USE_ALARM_CONTROL_PANEL
525 #endif
526 };
527 
528 } // namespace api
529 } // 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)
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_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_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)
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)
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
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)
virtual void on_subscribe_logs_request(const SubscribeLogsRequest &value)
bool send_update_state_response(const UpdateStateResponse &msg)