ESPHome  2024.11.3
Public Member Functions | Protected Member Functions
esphome::api::APIServerConnectionBase Class Reference

#include <api_pb2_service.h>

Inheritance diagram for esphome::api::APIServerConnectionBase:
esphome::api::ProtoService esphome::api::APIServerConnection esphome::api::APIConnection

Public Member Functions

virtual void on_hello_request (const HelloRequest &value)
 
bool send_hello_response (const HelloResponse &msg)
 
virtual void on_connect_request (const ConnectRequest &value)
 
bool send_connect_response (const ConnectResponse &msg)
 
bool send_disconnect_request (const DisconnectRequest &msg)
 
virtual void on_disconnect_request (const DisconnectRequest &value)
 
bool send_disconnect_response (const DisconnectResponse &msg)
 
virtual void on_disconnect_response (const DisconnectResponse &value)
 
bool send_ping_request (const PingRequest &msg)
 
virtual void on_ping_request (const PingRequest &value)
 
bool send_ping_response (const PingResponse &msg)
 
virtual void on_ping_response (const PingResponse &value)
 
virtual void on_device_info_request (const DeviceInfoRequest &value)
 
bool send_device_info_response (const DeviceInfoResponse &msg)
 
virtual void on_list_entities_request (const ListEntitiesRequest &value)
 
bool send_list_entities_done_response (const ListEntitiesDoneResponse &msg)
 
virtual void on_subscribe_states_request (const SubscribeStatesRequest &value)
 
bool send_list_entities_binary_sensor_response (const ListEntitiesBinarySensorResponse &msg)
 
bool send_binary_sensor_state_response (const BinarySensorStateResponse &msg)
 
bool send_list_entities_cover_response (const ListEntitiesCoverResponse &msg)
 
bool send_cover_state_response (const CoverStateResponse &msg)
 
virtual void on_cover_command_request (const CoverCommandRequest &value)
 
bool send_list_entities_fan_response (const ListEntitiesFanResponse &msg)
 
bool send_fan_state_response (const FanStateResponse &msg)
 
virtual void on_fan_command_request (const FanCommandRequest &value)
 
bool send_list_entities_light_response (const ListEntitiesLightResponse &msg)
 
bool send_light_state_response (const LightStateResponse &msg)
 
virtual void on_light_command_request (const LightCommandRequest &value)
 
bool send_list_entities_sensor_response (const ListEntitiesSensorResponse &msg)
 
bool send_sensor_state_response (const SensorStateResponse &msg)
 
bool send_list_entities_switch_response (const ListEntitiesSwitchResponse &msg)
 
bool send_switch_state_response (const SwitchStateResponse &msg)
 
virtual void on_switch_command_request (const SwitchCommandRequest &value)
 
bool send_list_entities_text_sensor_response (const ListEntitiesTextSensorResponse &msg)
 
bool send_text_sensor_state_response (const TextSensorStateResponse &msg)
 
virtual void on_subscribe_logs_request (const SubscribeLogsRequest &value)
 
bool send_subscribe_logs_response (const SubscribeLogsResponse &msg)
 
virtual void on_subscribe_homeassistant_services_request (const SubscribeHomeassistantServicesRequest &value)
 
bool send_homeassistant_service_response (const HomeassistantServiceResponse &msg)
 
virtual void on_subscribe_home_assistant_states_request (const SubscribeHomeAssistantStatesRequest &value)
 
bool send_subscribe_home_assistant_state_response (const SubscribeHomeAssistantStateResponse &msg)
 
virtual void on_home_assistant_state_response (const HomeAssistantStateResponse &value)
 
bool send_get_time_request (const GetTimeRequest &msg)
 
virtual void on_get_time_request (const GetTimeRequest &value)
 
bool send_get_time_response (const GetTimeResponse &msg)
 
virtual void on_get_time_response (const GetTimeResponse &value)
 
bool send_list_entities_services_response (const ListEntitiesServicesResponse &msg)
 
virtual void on_execute_service_request (const ExecuteServiceRequest &value)
 
bool send_list_entities_camera_response (const ListEntitiesCameraResponse &msg)
 
bool send_camera_image_response (const CameraImageResponse &msg)
 
virtual void on_camera_image_request (const CameraImageRequest &value)
 
bool send_list_entities_climate_response (const ListEntitiesClimateResponse &msg)
 
bool send_climate_state_response (const ClimateStateResponse &msg)
 
virtual void on_climate_command_request (const ClimateCommandRequest &value)
 
bool send_list_entities_number_response (const ListEntitiesNumberResponse &msg)
 
bool send_number_state_response (const NumberStateResponse &msg)
 
virtual void on_number_command_request (const NumberCommandRequest &value)
 
bool send_list_entities_select_response (const ListEntitiesSelectResponse &msg)
 
bool send_select_state_response (const SelectStateResponse &msg)
 
virtual void on_select_command_request (const SelectCommandRequest &value)
 
bool send_list_entities_lock_response (const ListEntitiesLockResponse &msg)
 
bool send_lock_state_response (const LockStateResponse &msg)
 
virtual void on_lock_command_request (const LockCommandRequest &value)
 
bool send_list_entities_button_response (const ListEntitiesButtonResponse &msg)
 
virtual void on_button_command_request (const ButtonCommandRequest &value)
 
bool send_list_entities_media_player_response (const ListEntitiesMediaPlayerResponse &msg)
 
bool send_media_player_state_response (const MediaPlayerStateResponse &msg)
 
virtual void on_media_player_command_request (const MediaPlayerCommandRequest &value)
 
virtual void on_subscribe_bluetooth_le_advertisements_request (const SubscribeBluetoothLEAdvertisementsRequest &value)
 
bool send_bluetooth_le_advertisement_response (const BluetoothLEAdvertisementResponse &msg)
 
bool send_bluetooth_le_raw_advertisements_response (const BluetoothLERawAdvertisementsResponse &msg)
 
virtual void on_bluetooth_device_request (const BluetoothDeviceRequest &value)
 
bool send_bluetooth_device_connection_response (const BluetoothDeviceConnectionResponse &msg)
 
virtual void on_bluetooth_gatt_get_services_request (const BluetoothGATTGetServicesRequest &value)
 
bool send_bluetooth_gatt_get_services_response (const BluetoothGATTGetServicesResponse &msg)
 
bool send_bluetooth_gatt_get_services_done_response (const BluetoothGATTGetServicesDoneResponse &msg)
 
virtual void on_bluetooth_gatt_read_request (const BluetoothGATTReadRequest &value)
 
bool send_bluetooth_gatt_read_response (const BluetoothGATTReadResponse &msg)
 
virtual void on_bluetooth_gatt_write_request (const BluetoothGATTWriteRequest &value)
 
virtual void on_bluetooth_gatt_read_descriptor_request (const BluetoothGATTReadDescriptorRequest &value)
 
virtual void on_bluetooth_gatt_write_descriptor_request (const BluetoothGATTWriteDescriptorRequest &value)
 
virtual void on_bluetooth_gatt_notify_request (const BluetoothGATTNotifyRequest &value)
 
bool send_bluetooth_gatt_notify_data_response (const BluetoothGATTNotifyDataResponse &msg)
 
virtual void on_subscribe_bluetooth_connections_free_request (const SubscribeBluetoothConnectionsFreeRequest &value)
 
bool send_bluetooth_connections_free_response (const BluetoothConnectionsFreeResponse &msg)
 
bool send_bluetooth_gatt_error_response (const BluetoothGATTErrorResponse &msg)
 
bool send_bluetooth_gatt_write_response (const BluetoothGATTWriteResponse &msg)
 
bool send_bluetooth_gatt_notify_response (const BluetoothGATTNotifyResponse &msg)
 
bool send_bluetooth_device_pairing_response (const BluetoothDevicePairingResponse &msg)
 
bool send_bluetooth_device_unpairing_response (const BluetoothDeviceUnpairingResponse &msg)
 
virtual void on_unsubscribe_bluetooth_le_advertisements_request (const UnsubscribeBluetoothLEAdvertisementsRequest &value)
 
bool send_bluetooth_device_clear_cache_response (const BluetoothDeviceClearCacheResponse &msg)
 
virtual void on_subscribe_voice_assistant_request (const SubscribeVoiceAssistantRequest &value)
 
bool send_voice_assistant_request (const VoiceAssistantRequest &msg)
 
virtual void on_voice_assistant_response (const VoiceAssistantResponse &value)
 
virtual void on_voice_assistant_event_response (const VoiceAssistantEventResponse &value)
 
bool send_voice_assistant_audio (const VoiceAssistantAudio &msg)
 
virtual void on_voice_assistant_audio (const VoiceAssistantAudio &value)
 
virtual void on_voice_assistant_timer_event_response (const VoiceAssistantTimerEventResponse &value)
 
virtual void on_voice_assistant_announce_request (const VoiceAssistantAnnounceRequest &value)
 
bool send_voice_assistant_announce_finished (const VoiceAssistantAnnounceFinished &msg)
 
virtual void on_voice_assistant_configuration_request (const VoiceAssistantConfigurationRequest &value)
 
bool send_voice_assistant_configuration_response (const VoiceAssistantConfigurationResponse &msg)
 
virtual void on_voice_assistant_set_configuration (const VoiceAssistantSetConfiguration &value)
 
bool send_list_entities_alarm_control_panel_response (const ListEntitiesAlarmControlPanelResponse &msg)
 
bool send_alarm_control_panel_state_response (const AlarmControlPanelStateResponse &msg)
 
virtual void on_alarm_control_panel_command_request (const AlarmControlPanelCommandRequest &value)
 
bool send_list_entities_text_response (const ListEntitiesTextResponse &msg)
 
bool send_text_state_response (const TextStateResponse &msg)
 
virtual void on_text_command_request (const TextCommandRequest &value)
 
bool send_list_entities_date_response (const ListEntitiesDateResponse &msg)
 
bool send_date_state_response (const DateStateResponse &msg)
 
virtual void on_date_command_request (const DateCommandRequest &value)
 
bool send_list_entities_time_response (const ListEntitiesTimeResponse &msg)
 
bool send_time_state_response (const TimeStateResponse &msg)
 
virtual void on_time_command_request (const TimeCommandRequest &value)
 
bool send_list_entities_event_response (const ListEntitiesEventResponse &msg)
 
bool send_event_response (const EventResponse &msg)
 
bool send_list_entities_valve_response (const ListEntitiesValveResponse &msg)
 
bool send_valve_state_response (const ValveStateResponse &msg)
 
virtual void on_valve_command_request (const ValveCommandRequest &value)
 
bool send_list_entities_date_time_response (const ListEntitiesDateTimeResponse &msg)
 
bool send_date_time_state_response (const DateTimeStateResponse &msg)
 
virtual void on_date_time_command_request (const DateTimeCommandRequest &value)
 
bool send_list_entities_update_response (const ListEntitiesUpdateResponse &msg)
 
bool send_update_state_response (const UpdateStateResponse &msg)
 
virtual void on_update_command_request (const UpdateCommandRequest &value)
 

Protected Member Functions

bool read_message (uint32_t msg_size, uint32_t msg_type, uint8_t *msg_data) override
 
- Protected Member Functions inherited from esphome::api::ProtoService
virtual bool is_authenticated ()=0
 
virtual bool is_connection_setup ()=0
 
virtual void on_fatal_error ()=0
 
virtual void on_unauthenticated_access ()=0
 
virtual void on_no_setup_connection ()=0
 
virtual ProtoWriteBuffer create_buffer ()=0
 
virtual bool send_buffer (ProtoWriteBuffer buffer, uint32_t message_type)=0
 
template<class C >
bool send_message_ (const C &msg, uint32_t message_type)
 

Detailed Description

Definition at line 11 of file api_pb2_service.h.

Member Function Documentation

◆ on_alarm_control_panel_command_request()

virtual void esphome::api::APIServerConnectionBase::on_alarm_control_panel_command_request ( const AlarmControlPanelCommandRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 272 of file api_pb2_service.h.

◆ on_bluetooth_device_request()

virtual void esphome::api::APIServerConnectionBase::on_bluetooth_device_request ( const BluetoothDeviceRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 168 of file api_pb2_service.h.

◆ on_bluetooth_gatt_get_services_request()

virtual void esphome::api::APIServerConnectionBase::on_bluetooth_gatt_get_services_request ( const BluetoothGATTGetServicesRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 174 of file api_pb2_service.h.

◆ on_bluetooth_gatt_notify_request()

virtual void esphome::api::APIServerConnectionBase::on_bluetooth_gatt_notify_request ( const BluetoothGATTNotifyRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 198 of file api_pb2_service.h.

◆ on_bluetooth_gatt_read_descriptor_request()

virtual void esphome::api::APIServerConnectionBase::on_bluetooth_gatt_read_descriptor_request ( const BluetoothGATTReadDescriptorRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 192 of file api_pb2_service.h.

◆ on_bluetooth_gatt_read_request()

virtual void esphome::api::APIServerConnectionBase::on_bluetooth_gatt_read_request ( const BluetoothGATTReadRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 183 of file api_pb2_service.h.

◆ on_bluetooth_gatt_write_descriptor_request()

virtual void esphome::api::APIServerConnectionBase::on_bluetooth_gatt_write_descriptor_request ( const BluetoothGATTWriteDescriptorRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 195 of file api_pb2_service.h.

◆ on_bluetooth_gatt_write_request()

virtual void esphome::api::APIServerConnectionBase::on_bluetooth_gatt_write_request ( const BluetoothGATTWriteRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 189 of file api_pb2_service.h.

◆ on_button_command_request()

virtual void esphome::api::APIServerConnectionBase::on_button_command_request ( const ButtonCommandRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 146 of file api_pb2_service.h.

◆ on_camera_image_request()

virtual void esphome::api::APIServerConnectionBase::on_camera_image_request ( const CameraImageRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 104 of file api_pb2_service.h.

◆ on_climate_command_request()

virtual void esphome::api::APIServerConnectionBase::on_climate_command_request ( const ClimateCommandRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 113 of file api_pb2_service.h.

◆ on_connect_request()

virtual void esphome::api::APIServerConnectionBase::on_connect_request ( const ConnectRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 15 of file api_pb2_service.h.

◆ on_cover_command_request()

virtual void esphome::api::APIServerConnectionBase::on_cover_command_request ( const CoverCommandRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 43 of file api_pb2_service.h.

◆ on_date_command_request()

virtual void esphome::api::APIServerConnectionBase::on_date_command_request ( const DateCommandRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 290 of file api_pb2_service.h.

◆ on_date_time_command_request()

virtual void esphome::api::APIServerConnectionBase::on_date_time_command_request ( const DateTimeCommandRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 323 of file api_pb2_service.h.

◆ on_device_info_request()

virtual void esphome::api::APIServerConnectionBase::on_device_info_request ( const DeviceInfoRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 25 of file api_pb2_service.h.

◆ on_disconnect_request()

virtual void esphome::api::APIServerConnectionBase::on_disconnect_request ( const DisconnectRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 18 of file api_pb2_service.h.

◆ on_disconnect_response()

virtual void esphome::api::APIServerConnectionBase::on_disconnect_response ( const DisconnectResponse value)
inlinevirtual

Reimplemented in esphome::api::APIConnection.

Definition at line 20 of file api_pb2_service.h.

◆ on_execute_service_request()

virtual void esphome::api::APIServerConnectionBase::on_execute_service_request ( const ExecuteServiceRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 96 of file api_pb2_service.h.

◆ on_fan_command_request()

virtual void esphome::api::APIServerConnectionBase::on_fan_command_request ( const FanCommandRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 52 of file api_pb2_service.h.

◆ on_get_time_request()

virtual void esphome::api::APIServerConnectionBase::on_get_time_request ( const GetTimeRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 92 of file api_pb2_service.h.

◆ on_get_time_response()

virtual void esphome::api::APIServerConnectionBase::on_get_time_response ( const GetTimeResponse value)
inlinevirtual

Reimplemented in esphome::api::APIConnection.

Definition at line 94 of file api_pb2_service.h.

◆ on_hello_request()

virtual void esphome::api::APIServerConnectionBase::on_hello_request ( const HelloRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 13 of file api_pb2_service.h.

◆ on_home_assistant_state_response()

virtual void esphome::api::APIServerConnectionBase::on_home_assistant_state_response ( const HomeAssistantStateResponse value)
inlinevirtual

Reimplemented in esphome::api::APIConnection.

Definition at line 90 of file api_pb2_service.h.

◆ on_light_command_request()

virtual void esphome::api::APIServerConnectionBase::on_light_command_request ( const LightCommandRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 61 of file api_pb2_service.h.

◆ on_list_entities_request()

virtual void esphome::api::APIServerConnectionBase::on_list_entities_request ( const ListEntitiesRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 27 of file api_pb2_service.h.

◆ on_lock_command_request()

virtual void esphome::api::APIServerConnectionBase::on_lock_command_request ( const LockCommandRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 140 of file api_pb2_service.h.

◆ on_media_player_command_request()

virtual void esphome::api::APIServerConnectionBase::on_media_player_command_request ( const MediaPlayerCommandRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 155 of file api_pb2_service.h.

◆ on_number_command_request()

virtual void esphome::api::APIServerConnectionBase::on_number_command_request ( const NumberCommandRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 122 of file api_pb2_service.h.

◆ on_ping_request()

virtual void esphome::api::APIServerConnectionBase::on_ping_request ( const PingRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 22 of file api_pb2_service.h.

◆ on_ping_response()

virtual void esphome::api::APIServerConnectionBase::on_ping_response ( const PingResponse value)
inlinevirtual

Reimplemented in esphome::api::APIConnection.

Definition at line 24 of file api_pb2_service.h.

◆ on_select_command_request()

virtual void esphome::api::APIServerConnectionBase::on_select_command_request ( const SelectCommandRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 131 of file api_pb2_service.h.

◆ on_subscribe_bluetooth_connections_free_request()

virtual void esphome::api::APIServerConnectionBase::on_subscribe_bluetooth_connections_free_request ( const SubscribeBluetoothConnectionsFreeRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 204 of file api_pb2_service.h.

◆ on_subscribe_bluetooth_le_advertisements_request()

virtual void esphome::api::APIServerConnectionBase::on_subscribe_bluetooth_le_advertisements_request ( const SubscribeBluetoothLEAdvertisementsRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 158 of file api_pb2_service.h.

◆ on_subscribe_home_assistant_states_request()

virtual void esphome::api::APIServerConnectionBase::on_subscribe_home_assistant_states_request ( const SubscribeHomeAssistantStatesRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 88 of file api_pb2_service.h.

◆ on_subscribe_homeassistant_services_request()

virtual void esphome::api::APIServerConnectionBase::on_subscribe_homeassistant_services_request ( const SubscribeHomeassistantServicesRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 86 of file api_pb2_service.h.

◆ on_subscribe_logs_request()

virtual void esphome::api::APIServerConnectionBase::on_subscribe_logs_request ( const SubscribeLogsRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 84 of file api_pb2_service.h.

◆ on_subscribe_states_request()

virtual void esphome::api::APIServerConnectionBase::on_subscribe_states_request ( const SubscribeStatesRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 29 of file api_pb2_service.h.

◆ on_subscribe_voice_assistant_request()

virtual void esphome::api::APIServerConnectionBase::on_subscribe_voice_assistant_request ( const SubscribeVoiceAssistantRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 232 of file api_pb2_service.h.

◆ on_switch_command_request()

virtual void esphome::api::APIServerConnectionBase::on_switch_command_request ( const SwitchCommandRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 76 of file api_pb2_service.h.

◆ on_text_command_request()

virtual void esphome::api::APIServerConnectionBase::on_text_command_request ( const TextCommandRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 281 of file api_pb2_service.h.

◆ on_time_command_request()

virtual void esphome::api::APIServerConnectionBase::on_time_command_request ( const TimeCommandRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 299 of file api_pb2_service.h.

◆ on_unsubscribe_bluetooth_le_advertisements_request()

virtual void esphome::api::APIServerConnectionBase::on_unsubscribe_bluetooth_le_advertisements_request ( const UnsubscribeBluetoothLEAdvertisementsRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 225 of file api_pb2_service.h.

◆ on_update_command_request()

virtual void esphome::api::APIServerConnectionBase::on_update_command_request ( const UpdateCommandRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 332 of file api_pb2_service.h.

◆ on_valve_command_request()

virtual void esphome::api::APIServerConnectionBase::on_valve_command_request ( const ValveCommandRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 314 of file api_pb2_service.h.

◆ on_voice_assistant_announce_request()

virtual void esphome::api::APIServerConnectionBase::on_voice_assistant_announce_request ( const VoiceAssistantAnnounceRequest value)
inlinevirtual

Reimplemented in esphome::api::APIConnection.

Definition at line 251 of file api_pb2_service.h.

◆ on_voice_assistant_audio()

virtual void esphome::api::APIServerConnectionBase::on_voice_assistant_audio ( const VoiceAssistantAudio value)
inlinevirtual

Reimplemented in esphome::api::APIConnection.

Definition at line 245 of file api_pb2_service.h.

◆ on_voice_assistant_configuration_request()

virtual void esphome::api::APIServerConnectionBase::on_voice_assistant_configuration_request ( const VoiceAssistantConfigurationRequest value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 257 of file api_pb2_service.h.

◆ on_voice_assistant_event_response()

virtual void esphome::api::APIServerConnectionBase::on_voice_assistant_event_response ( const VoiceAssistantEventResponse value)
inlinevirtual

Reimplemented in esphome::api::APIConnection.

Definition at line 241 of file api_pb2_service.h.

◆ on_voice_assistant_response()

virtual void esphome::api::APIServerConnectionBase::on_voice_assistant_response ( const VoiceAssistantResponse value)
inlinevirtual

Reimplemented in esphome::api::APIConnection.

Definition at line 238 of file api_pb2_service.h.

◆ on_voice_assistant_set_configuration()

virtual void esphome::api::APIServerConnectionBase::on_voice_assistant_set_configuration ( const VoiceAssistantSetConfiguration value)
inlinevirtual

Reimplemented in esphome::api::APIServerConnection.

Definition at line 263 of file api_pb2_service.h.

◆ on_voice_assistant_timer_event_response()

virtual void esphome::api::APIServerConnectionBase::on_voice_assistant_timer_event_response ( const VoiceAssistantTimerEventResponse value)
inlinevirtual

Reimplemented in esphome::api::APIConnection.

Definition at line 248 of file api_pb2_service.h.

◆ read_message()

bool esphome::api::APIServerConnectionBase::read_message ( uint32_t  msg_size,
uint32_t  msg_type,
uint8_t *  msg_data 
)
overrideprotectedvirtual

Implements esphome::api::ProtoService.

Definition at line 655 of file api_pb2_service.cpp.

◆ send_alarm_control_panel_state_response()

bool esphome::api::APIServerConnectionBase::send_alarm_control_panel_state_response ( const AlarmControlPanelStateResponse msg)

Definition at line 522 of file api_pb2_service.cpp.

◆ send_binary_sensor_state_response()

bool esphome::api::APIServerConnectionBase::send_binary_sensor_state_response ( const BinarySensorStateResponse msg)

Definition at line 68 of file api_pb2_service.cpp.

◆ send_bluetooth_connections_free_response()

bool esphome::api::APIServerConnectionBase::send_bluetooth_connections_free_response ( const BluetoothConnectionsFreeResponse msg)

Definition at line 408 of file api_pb2_service.cpp.

◆ send_bluetooth_device_clear_cache_response()

bool esphome::api::APIServerConnectionBase::send_bluetooth_device_clear_cache_response ( const BluetoothDeviceClearCacheResponse msg)

Definition at line 458 of file api_pb2_service.cpp.

◆ send_bluetooth_device_connection_response()

bool esphome::api::APIServerConnectionBase::send_bluetooth_device_connection_response ( const BluetoothDeviceConnectionResponse msg)

Definition at line 353 of file api_pb2_service.cpp.

◆ send_bluetooth_device_pairing_response()

bool esphome::api::APIServerConnectionBase::send_bluetooth_device_pairing_response ( const BluetoothDevicePairingResponse msg)

Definition at line 440 of file api_pb2_service.cpp.

◆ send_bluetooth_device_unpairing_response()

bool esphome::api::APIServerConnectionBase::send_bluetooth_device_unpairing_response ( const BluetoothDeviceUnpairingResponse msg)

Definition at line 448 of file api_pb2_service.cpp.

◆ send_bluetooth_gatt_error_response()

bool esphome::api::APIServerConnectionBase::send_bluetooth_gatt_error_response ( const BluetoothGATTErrorResponse msg)

Definition at line 416 of file api_pb2_service.cpp.

◆ send_bluetooth_gatt_get_services_done_response()

bool esphome::api::APIServerConnectionBase::send_bluetooth_gatt_get_services_done_response ( const BluetoothGATTGetServicesDoneResponse msg)

Definition at line 371 of file api_pb2_service.cpp.

◆ send_bluetooth_gatt_get_services_response()

bool esphome::api::APIServerConnectionBase::send_bluetooth_gatt_get_services_response ( const BluetoothGATTGetServicesResponse msg)

Definition at line 363 of file api_pb2_service.cpp.

◆ send_bluetooth_gatt_notify_data_response()

bool esphome::api::APIServerConnectionBase::send_bluetooth_gatt_notify_data_response ( const BluetoothGATTNotifyDataResponse msg)

Definition at line 398 of file api_pb2_service.cpp.

◆ send_bluetooth_gatt_notify_response()

bool esphome::api::APIServerConnectionBase::send_bluetooth_gatt_notify_response ( const BluetoothGATTNotifyResponse msg)

Definition at line 432 of file api_pb2_service.cpp.

◆ send_bluetooth_gatt_read_response()

bool esphome::api::APIServerConnectionBase::send_bluetooth_gatt_read_response ( const BluetoothGATTReadResponse msg)

Definition at line 382 of file api_pb2_service.cpp.

◆ send_bluetooth_gatt_write_response()

bool esphome::api::APIServerConnectionBase::send_bluetooth_gatt_write_response ( const BluetoothGATTWriteResponse msg)

Definition at line 424 of file api_pb2_service.cpp.

◆ send_bluetooth_le_advertisement_response()

bool esphome::api::APIServerConnectionBase::send_bluetooth_le_advertisement_response ( const BluetoothLEAdvertisementResponse msg)

Definition at line 334 of file api_pb2_service.cpp.

◆ send_bluetooth_le_raw_advertisements_response()

bool esphome::api::APIServerConnectionBase::send_bluetooth_le_raw_advertisements_response ( const BluetoothLERawAdvertisementsResponse msg)

Definition at line 342 of file api_pb2_service.cpp.

◆ send_camera_image_response()

bool esphome::api::APIServerConnectionBase::send_camera_image_response ( const CameraImageResponse msg)

Definition at line 222 of file api_pb2_service.cpp.

◆ send_climate_state_response()

bool esphome::api::APIServerConnectionBase::send_climate_state_response ( const ClimateStateResponse msg)

Definition at line 240 of file api_pb2_service.cpp.

◆ send_connect_response()

bool esphome::api::APIServerConnectionBase::send_connect_response ( const ConnectResponse msg)

Definition at line 17 of file api_pb2_service.cpp.

◆ send_cover_state_response()

bool esphome::api::APIServerConnectionBase::send_cover_state_response ( const CoverStateResponse msg)

Definition at line 84 of file api_pb2_service.cpp.

◆ send_date_state_response()

bool esphome::api::APIServerConnectionBase::send_date_state_response ( const DateStateResponse msg)

Definition at line 558 of file api_pb2_service.cpp.

◆ send_date_time_state_response()

bool esphome::api::APIServerConnectionBase::send_date_time_state_response ( const DateTimeStateResponse msg)

Definition at line 628 of file api_pb2_service.cpp.

◆ send_device_info_response()

bool esphome::api::APIServerConnectionBase::send_device_info_response ( const DeviceInfoResponse msg)

Definition at line 47 of file api_pb2_service.cpp.

◆ send_disconnect_request()

bool esphome::api::APIServerConnectionBase::send_disconnect_request ( const DisconnectRequest msg)

Definition at line 23 of file api_pb2_service.cpp.

◆ send_disconnect_response()

bool esphome::api::APIServerConnectionBase::send_disconnect_response ( const DisconnectResponse msg)

Definition at line 29 of file api_pb2_service.cpp.

◆ send_event_response()

bool esphome::api::APIServerConnectionBase::send_event_response ( const EventResponse msg)

Definition at line 594 of file api_pb2_service.cpp.

◆ send_fan_state_response()

bool esphome::api::APIServerConnectionBase::send_fan_state_response ( const FanStateResponse msg)

Definition at line 102 of file api_pb2_service.cpp.

◆ send_get_time_request()

bool esphome::api::APIServerConnectionBase::send_get_time_request ( const GetTimeRequest msg)

Definition at line 195 of file api_pb2_service.cpp.

◆ send_get_time_response()

bool esphome::api::APIServerConnectionBase::send_get_time_response ( const GetTimeResponse msg)

Definition at line 201 of file api_pb2_service.cpp.

◆ send_hello_response()

bool esphome::api::APIServerConnectionBase::send_hello_response ( const HelloResponse msg)

Definition at line 11 of file api_pb2_service.cpp.

◆ send_homeassistant_service_response()

bool esphome::api::APIServerConnectionBase::send_homeassistant_service_response ( const HomeassistantServiceResponse msg)

Definition at line 182 of file api_pb2_service.cpp.

◆ send_light_state_response()

bool esphome::api::APIServerConnectionBase::send_light_state_response ( const LightStateResponse msg)

Definition at line 120 of file api_pb2_service.cpp.

◆ send_list_entities_alarm_control_panel_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_alarm_control_panel_response ( const ListEntitiesAlarmControlPanelResponse msg)

Definition at line 513 of file api_pb2_service.cpp.

◆ send_list_entities_binary_sensor_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_binary_sensor_response ( const ListEntitiesBinarySensorResponse msg)

Definition at line 60 of file api_pb2_service.cpp.

◆ send_list_entities_button_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_button_response ( const ListEntitiesButtonResponse msg)

Definition at line 304 of file api_pb2_service.cpp.

◆ send_list_entities_camera_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_camera_response ( const ListEntitiesCameraResponse msg)

Definition at line 214 of file api_pb2_service.cpp.

◆ send_list_entities_climate_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_climate_response ( const ListEntitiesClimateResponse msg)

Definition at line 232 of file api_pb2_service.cpp.

◆ send_list_entities_cover_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_cover_response ( const ListEntitiesCoverResponse msg)

Definition at line 76 of file api_pb2_service.cpp.

◆ send_list_entities_date_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_date_response ( const ListEntitiesDateResponse msg)

Definition at line 550 of file api_pb2_service.cpp.

◆ send_list_entities_date_time_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_date_time_response ( const ListEntitiesDateTimeResponse msg)

Definition at line 620 of file api_pb2_service.cpp.

◆ send_list_entities_done_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_done_response ( const ListEntitiesDoneResponse msg)

Definition at line 53 of file api_pb2_service.cpp.

◆ send_list_entities_event_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_event_response ( const ListEntitiesEventResponse msg)

Definition at line 586 of file api_pb2_service.cpp.

◆ send_list_entities_fan_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_fan_response ( const ListEntitiesFanResponse msg)

Definition at line 94 of file api_pb2_service.cpp.

◆ send_list_entities_light_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_light_response ( const ListEntitiesLightResponse msg)

Definition at line 112 of file api_pb2_service.cpp.

◆ send_list_entities_lock_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_lock_response ( const ListEntitiesLockResponse msg)

Definition at line 286 of file api_pb2_service.cpp.

◆ send_list_entities_media_player_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_media_player_response ( const ListEntitiesMediaPlayerResponse msg)

Definition at line 314 of file api_pb2_service.cpp.

◆ send_list_entities_number_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_number_response ( const ListEntitiesNumberResponse msg)

Definition at line 250 of file api_pb2_service.cpp.

◆ send_list_entities_select_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_select_response ( const ListEntitiesSelectResponse msg)

Definition at line 268 of file api_pb2_service.cpp.

◆ send_list_entities_sensor_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_sensor_response ( const ListEntitiesSensorResponse msg)

Definition at line 130 of file api_pb2_service.cpp.

◆ send_list_entities_services_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_services_response ( const ListEntitiesServicesResponse msg)

Definition at line 207 of file api_pb2_service.cpp.

◆ send_list_entities_switch_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_switch_response ( const ListEntitiesSwitchResponse msg)

Definition at line 146 of file api_pb2_service.cpp.

◆ send_list_entities_text_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_text_response ( const ListEntitiesTextResponse msg)

Definition at line 532 of file api_pb2_service.cpp.

◆ send_list_entities_text_sensor_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_text_sensor_response ( const ListEntitiesTextSensorResponse msg)

Definition at line 164 of file api_pb2_service.cpp.

◆ send_list_entities_time_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_time_response ( const ListEntitiesTimeResponse msg)

Definition at line 568 of file api_pb2_service.cpp.

◆ send_list_entities_update_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_update_response ( const ListEntitiesUpdateResponse msg)

Definition at line 638 of file api_pb2_service.cpp.

◆ send_list_entities_valve_response()

bool esphome::api::APIServerConnectionBase::send_list_entities_valve_response ( const ListEntitiesValveResponse msg)

Definition at line 602 of file api_pb2_service.cpp.

◆ send_lock_state_response()

bool esphome::api::APIServerConnectionBase::send_lock_state_response ( const LockStateResponse msg)

Definition at line 294 of file api_pb2_service.cpp.

◆ send_media_player_state_response()

bool esphome::api::APIServerConnectionBase::send_media_player_state_response ( const MediaPlayerStateResponse msg)

Definition at line 322 of file api_pb2_service.cpp.

◆ send_number_state_response()

bool esphome::api::APIServerConnectionBase::send_number_state_response ( const NumberStateResponse msg)

Definition at line 258 of file api_pb2_service.cpp.

◆ send_ping_request()

bool esphome::api::APIServerConnectionBase::send_ping_request ( const PingRequest msg)

Definition at line 35 of file api_pb2_service.cpp.

◆ send_ping_response()

bool esphome::api::APIServerConnectionBase::send_ping_response ( const PingResponse msg)

Definition at line 41 of file api_pb2_service.cpp.

◆ send_select_state_response()

bool esphome::api::APIServerConnectionBase::send_select_state_response ( const SelectStateResponse msg)

Definition at line 276 of file api_pb2_service.cpp.

◆ send_sensor_state_response()

bool esphome::api::APIServerConnectionBase::send_sensor_state_response ( const SensorStateResponse msg)

Definition at line 138 of file api_pb2_service.cpp.

◆ send_subscribe_home_assistant_state_response()

bool esphome::api::APIServerConnectionBase::send_subscribe_home_assistant_state_response ( const SubscribeHomeAssistantStateResponse msg)

Definition at line 188 of file api_pb2_service.cpp.

◆ send_subscribe_logs_response()

bool esphome::api::APIServerConnectionBase::send_subscribe_logs_response ( const SubscribeLogsResponse msg)

Definition at line 179 of file api_pb2_service.cpp.

◆ send_switch_state_response()

bool esphome::api::APIServerConnectionBase::send_switch_state_response ( const SwitchStateResponse msg)

Definition at line 154 of file api_pb2_service.cpp.

◆ send_text_sensor_state_response()

bool esphome::api::APIServerConnectionBase::send_text_sensor_state_response ( const TextSensorStateResponse msg)

Definition at line 172 of file api_pb2_service.cpp.

◆ send_text_state_response()

bool esphome::api::APIServerConnectionBase::send_text_state_response ( const TextStateResponse msg)

Definition at line 540 of file api_pb2_service.cpp.

◆ send_time_state_response()

bool esphome::api::APIServerConnectionBase::send_time_state_response ( const TimeStateResponse msg)

Definition at line 576 of file api_pb2_service.cpp.

◆ send_update_state_response()

bool esphome::api::APIServerConnectionBase::send_update_state_response ( const UpdateStateResponse msg)

Definition at line 646 of file api_pb2_service.cpp.

◆ send_valve_state_response()

bool esphome::api::APIServerConnectionBase::send_valve_state_response ( const ValveStateResponse msg)

Definition at line 610 of file api_pb2_service.cpp.

◆ send_voice_assistant_announce_finished()

bool esphome::api::APIServerConnectionBase::send_voice_assistant_announce_finished ( const VoiceAssistantAnnounceFinished msg)

Definition at line 492 of file api_pb2_service.cpp.

◆ send_voice_assistant_audio()

bool esphome::api::APIServerConnectionBase::send_voice_assistant_audio ( const VoiceAssistantAudio msg)

Definition at line 480 of file api_pb2_service.cpp.

◆ send_voice_assistant_configuration_response()

bool esphome::api::APIServerConnectionBase::send_voice_assistant_configuration_response ( const VoiceAssistantConfigurationResponse msg)

Definition at line 502 of file api_pb2_service.cpp.

◆ send_voice_assistant_request()

bool esphome::api::APIServerConnectionBase::send_voice_assistant_request ( const VoiceAssistantRequest msg)

Definition at line 468 of file api_pb2_service.cpp.


The documentation for this class was generated from the following files: