ESPHome  2024.9.2
Public Member Functions | Protected Member Functions
esphome::api::APIServerConnection Class Referenceabstract

#include <api_pb2_service.h>

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

Public Member Functions

virtual HelloResponse hello (const HelloRequest &msg)=0
 
virtual ConnectResponse connect (const ConnectRequest &msg)=0
 
virtual DisconnectResponse disconnect (const DisconnectRequest &msg)=0
 
virtual PingResponse ping (const PingRequest &msg)=0
 
virtual DeviceInfoResponse device_info (const DeviceInfoRequest &msg)=0
 
virtual void list_entities (const ListEntitiesRequest &msg)=0
 
virtual void subscribe_states (const SubscribeStatesRequest &msg)=0
 
virtual void subscribe_logs (const SubscribeLogsRequest &msg)=0
 
virtual void subscribe_homeassistant_services (const SubscribeHomeassistantServicesRequest &msg)=0
 
virtual void subscribe_home_assistant_states (const SubscribeHomeAssistantStatesRequest &msg)=0
 
virtual GetTimeResponse get_time (const GetTimeRequest &msg)=0
 
virtual void execute_service (const ExecuteServiceRequest &msg)=0
 
virtual void cover_command (const CoverCommandRequest &msg)=0
 
virtual void fan_command (const FanCommandRequest &msg)=0
 
virtual void light_command (const LightCommandRequest &msg)=0
 
virtual void switch_command (const SwitchCommandRequest &msg)=0
 
virtual void camera_image (const CameraImageRequest &msg)=0
 
virtual void climate_command (const ClimateCommandRequest &msg)=0
 
virtual void number_command (const NumberCommandRequest &msg)=0
 
virtual void text_command (const TextCommandRequest &msg)=0
 
virtual void select_command (const SelectCommandRequest &msg)=0
 
virtual void button_command (const ButtonCommandRequest &msg)=0
 
virtual void lock_command (const LockCommandRequest &msg)=0
 
virtual void valve_command (const ValveCommandRequest &msg)=0
 
virtual void media_player_command (const MediaPlayerCommandRequest &msg)=0
 
virtual void date_command (const DateCommandRequest &msg)=0
 
virtual void time_command (const TimeCommandRequest &msg)=0
 
virtual void datetime_command (const DateTimeCommandRequest &msg)=0
 
virtual void update_command (const UpdateCommandRequest &msg)=0
 
virtual void subscribe_bluetooth_le_advertisements (const SubscribeBluetoothLEAdvertisementsRequest &msg)=0
 
virtual void bluetooth_device_request (const BluetoothDeviceRequest &msg)=0
 
virtual void bluetooth_gatt_get_services (const BluetoothGATTGetServicesRequest &msg)=0
 
virtual void bluetooth_gatt_read (const BluetoothGATTReadRequest &msg)=0
 
virtual void bluetooth_gatt_write (const BluetoothGATTWriteRequest &msg)=0
 
virtual void bluetooth_gatt_read_descriptor (const BluetoothGATTReadDescriptorRequest &msg)=0
 
virtual void bluetooth_gatt_write_descriptor (const BluetoothGATTWriteDescriptorRequest &msg)=0
 
virtual void bluetooth_gatt_notify (const BluetoothGATTNotifyRequest &msg)=0
 
virtual BluetoothConnectionsFreeResponse subscribe_bluetooth_connections_free (const SubscribeBluetoothConnectionsFreeRequest &msg)=0
 
virtual void unsubscribe_bluetooth_le_advertisements (const UnsubscribeBluetoothLEAdvertisementsRequest &msg)=0
 
virtual void subscribe_voice_assistant (const SubscribeVoiceAssistantRequest &msg)=0
 
virtual VoiceAssistantConfigurationResponse voice_assistant_get_configuration (const VoiceAssistantConfigurationRequest &msg)=0
 
virtual void voice_assistant_set_configuration (const VoiceAssistantSetConfiguration &msg)=0
 
virtual void alarm_control_panel_command (const AlarmControlPanelCommandRequest &msg)=0
 
- Public Member Functions inherited from esphome::api::APIServerConnectionBase
bool send_hello_response (const HelloResponse &msg)
 
bool send_connect_response (const ConnectResponse &msg)
 
bool send_disconnect_request (const DisconnectRequest &msg)
 
bool send_disconnect_response (const DisconnectResponse &msg)
 
virtual void on_disconnect_response (const DisconnectResponse &value)
 
bool send_ping_request (const PingRequest &msg)
 
bool send_ping_response (const PingResponse &msg)
 
virtual void on_ping_response (const PingResponse &value)
 
bool send_device_info_response (const DeviceInfoResponse &msg)
 
bool send_list_entities_done_response (const ListEntitiesDoneResponse &msg)
 
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)
 
bool send_list_entities_fan_response (const ListEntitiesFanResponse &msg)
 
bool send_fan_state_response (const FanStateResponse &msg)
 
bool send_list_entities_light_response (const ListEntitiesLightResponse &msg)
 
bool send_light_state_response (const LightStateResponse &msg)
 
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)
 
bool send_list_entities_text_sensor_response (const ListEntitiesTextSensorResponse &msg)
 
bool send_text_sensor_state_response (const TextSensorStateResponse &msg)
 
bool send_subscribe_logs_response (const SubscribeLogsResponse &msg)
 
bool send_homeassistant_service_response (const HomeassistantServiceResponse &msg)
 
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)
 
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)
 
bool send_list_entities_camera_response (const ListEntitiesCameraResponse &msg)
 
bool send_camera_image_response (const CameraImageResponse &msg)
 
bool send_list_entities_climate_response (const ListEntitiesClimateResponse &msg)
 
bool send_climate_state_response (const ClimateStateResponse &msg)
 
bool send_list_entities_number_response (const ListEntitiesNumberResponse &msg)
 
bool send_number_state_response (const NumberStateResponse &msg)
 
bool send_list_entities_select_response (const ListEntitiesSelectResponse &msg)
 
bool send_select_state_response (const SelectStateResponse &msg)
 
bool send_list_entities_lock_response (const ListEntitiesLockResponse &msg)
 
bool send_lock_state_response (const LockStateResponse &msg)
 
bool send_list_entities_button_response (const ListEntitiesButtonResponse &msg)
 
bool send_list_entities_media_player_response (const ListEntitiesMediaPlayerResponse &msg)
 
bool send_media_player_state_response (const MediaPlayerStateResponse &msg)
 
bool send_bluetooth_le_advertisement_response (const BluetoothLEAdvertisementResponse &msg)
 
bool send_bluetooth_le_raw_advertisements_response (const BluetoothLERawAdvertisementsResponse &msg)
 
bool send_bluetooth_device_connection_response (const BluetoothDeviceConnectionResponse &msg)
 
bool send_bluetooth_gatt_get_services_response (const BluetoothGATTGetServicesResponse &msg)
 
bool send_bluetooth_gatt_get_services_done_response (const BluetoothGATTGetServicesDoneResponse &msg)
 
bool send_bluetooth_gatt_read_response (const BluetoothGATTReadResponse &msg)
 
bool send_bluetooth_gatt_notify_data_response (const BluetoothGATTNotifyDataResponse &msg)
 
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)
 
bool send_bluetooth_device_clear_cache_response (const BluetoothDeviceClearCacheResponse &msg)
 
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)
 
bool send_voice_assistant_configuration_response (const VoiceAssistantConfigurationResponse &msg)
 
bool send_list_entities_alarm_control_panel_response (const ListEntitiesAlarmControlPanelResponse &msg)
 
bool send_alarm_control_panel_state_response (const AlarmControlPanelStateResponse &msg)
 
bool send_list_entities_text_response (const ListEntitiesTextResponse &msg)
 
bool send_text_state_response (const TextStateResponse &msg)
 
bool send_list_entities_date_response (const ListEntitiesDateResponse &msg)
 
bool send_date_state_response (const DateStateResponse &msg)
 
bool send_list_entities_time_response (const ListEntitiesTimeResponse &msg)
 
bool send_time_state_response (const TimeStateResponse &msg)
 
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)
 
bool send_list_entities_date_time_response (const ListEntitiesDateTimeResponse &msg)
 
bool send_date_time_state_response (const DateTimeStateResponse &msg)
 
bool send_list_entities_update_response (const ListEntitiesUpdateResponse &msg)
 
bool send_update_state_response (const UpdateStateResponse &msg)
 

Protected Member Functions

void on_hello_request (const HelloRequest &msg) override
 
void on_connect_request (const ConnectRequest &msg) override
 
void on_disconnect_request (const DisconnectRequest &msg) override
 
void on_ping_request (const PingRequest &msg) override
 
void on_device_info_request (const DeviceInfoRequest &msg) override
 
void on_list_entities_request (const ListEntitiesRequest &msg) override
 
void on_subscribe_states_request (const SubscribeStatesRequest &msg) override
 
void on_subscribe_logs_request (const SubscribeLogsRequest &msg) override
 
void on_subscribe_homeassistant_services_request (const SubscribeHomeassistantServicesRequest &msg) override
 
void on_subscribe_home_assistant_states_request (const SubscribeHomeAssistantStatesRequest &msg) override
 
void on_get_time_request (const GetTimeRequest &msg) override
 
void on_execute_service_request (const ExecuteServiceRequest &msg) override
 
void on_cover_command_request (const CoverCommandRequest &msg) override
 
void on_fan_command_request (const FanCommandRequest &msg) override
 
void on_light_command_request (const LightCommandRequest &msg) override
 
void on_switch_command_request (const SwitchCommandRequest &msg) override
 
void on_camera_image_request (const CameraImageRequest &msg) override
 
void on_climate_command_request (const ClimateCommandRequest &msg) override
 
void on_number_command_request (const NumberCommandRequest &msg) override
 
void on_text_command_request (const TextCommandRequest &msg) override
 
void on_select_command_request (const SelectCommandRequest &msg) override
 
void on_button_command_request (const ButtonCommandRequest &msg) override
 
void on_lock_command_request (const LockCommandRequest &msg) override
 
void on_valve_command_request (const ValveCommandRequest &msg) override
 
void on_media_player_command_request (const MediaPlayerCommandRequest &msg) override
 
void on_date_command_request (const DateCommandRequest &msg) override
 
void on_time_command_request (const TimeCommandRequest &msg) override
 
void on_date_time_command_request (const DateTimeCommandRequest &msg) override
 
void on_update_command_request (const UpdateCommandRequest &msg) override
 
void on_subscribe_bluetooth_le_advertisements_request (const SubscribeBluetoothLEAdvertisementsRequest &msg) override
 
void on_bluetooth_device_request (const BluetoothDeviceRequest &msg) override
 
void on_bluetooth_gatt_get_services_request (const BluetoothGATTGetServicesRequest &msg) override
 
void on_bluetooth_gatt_read_request (const BluetoothGATTReadRequest &msg) override
 
void on_bluetooth_gatt_write_request (const BluetoothGATTWriteRequest &msg) override
 
void on_bluetooth_gatt_read_descriptor_request (const BluetoothGATTReadDescriptorRequest &msg) override
 
void on_bluetooth_gatt_write_descriptor_request (const BluetoothGATTWriteDescriptorRequest &msg) override
 
void on_bluetooth_gatt_notify_request (const BluetoothGATTNotifyRequest &msg) override
 
void on_subscribe_bluetooth_connections_free_request (const SubscribeBluetoothConnectionsFreeRequest &msg) override
 
void on_unsubscribe_bluetooth_le_advertisements_request (const UnsubscribeBluetoothLEAdvertisementsRequest &msg) override
 
void on_subscribe_voice_assistant_request (const SubscribeVoiceAssistantRequest &msg) override
 
void on_voice_assistant_configuration_request (const VoiceAssistantConfigurationRequest &msg) override
 
void on_voice_assistant_set_configuration (const VoiceAssistantSetConfiguration &msg) override
 
void on_alarm_control_panel_command_request (const AlarmControlPanelCommandRequest &msg) override
 
- Protected Member Functions inherited from esphome::api::APIServerConnectionBase
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 338 of file api_pb2_service.h.

Member Function Documentation

◆ alarm_control_panel_command()

virtual void esphome::api::APIServerConnection::alarm_control_panel_command ( const AlarmControlPanelCommandRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ bluetooth_device_request()

virtual void esphome::api::APIServerConnection::bluetooth_device_request ( const BluetoothDeviceRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ bluetooth_gatt_get_services()

virtual void esphome::api::APIServerConnection::bluetooth_gatt_get_services ( const BluetoothGATTGetServicesRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ bluetooth_gatt_notify()

virtual void esphome::api::APIServerConnection::bluetooth_gatt_notify ( const BluetoothGATTNotifyRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ bluetooth_gatt_read()

virtual void esphome::api::APIServerConnection::bluetooth_gatt_read ( const BluetoothGATTReadRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ bluetooth_gatt_read_descriptor()

virtual void esphome::api::APIServerConnection::bluetooth_gatt_read_descriptor ( const BluetoothGATTReadDescriptorRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ bluetooth_gatt_write()

virtual void esphome::api::APIServerConnection::bluetooth_gatt_write ( const BluetoothGATTWriteRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ bluetooth_gatt_write_descriptor()

virtual void esphome::api::APIServerConnection::bluetooth_gatt_write_descriptor ( const BluetoothGATTWriteDescriptorRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ button_command()

virtual void esphome::api::APIServerConnection::button_command ( const ButtonCommandRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ camera_image()

virtual void esphome::api::APIServerConnection::camera_image ( const CameraImageRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ climate_command()

virtual void esphome::api::APIServerConnection::climate_command ( const ClimateCommandRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ connect()

virtual ConnectResponse esphome::api::APIServerConnection::connect ( const ConnectRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ cover_command()

virtual void esphome::api::APIServerConnection::cover_command ( const CoverCommandRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ date_command()

virtual void esphome::api::APIServerConnection::date_command ( const DateCommandRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ datetime_command()

virtual void esphome::api::APIServerConnection::datetime_command ( const DateTimeCommandRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ device_info()

virtual DeviceInfoResponse esphome::api::APIServerConnection::device_info ( const DeviceInfoRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ disconnect()

virtual DisconnectResponse esphome::api::APIServerConnection::disconnect ( const DisconnectRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ execute_service()

virtual void esphome::api::APIServerConnection::execute_service ( const ExecuteServiceRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ fan_command()

virtual void esphome::api::APIServerConnection::fan_command ( const FanCommandRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ get_time()

virtual GetTimeResponse esphome::api::APIServerConnection::get_time ( const GetTimeRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ hello()

virtual HelloResponse esphome::api::APIServerConnection::hello ( const HelloRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ light_command()

virtual void esphome::api::APIServerConnection::light_command ( const LightCommandRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ list_entities()

virtual void esphome::api::APIServerConnection::list_entities ( const ListEntitiesRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ lock_command()

virtual void esphome::api::APIServerConnection::lock_command ( const LockCommandRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ media_player_command()

virtual void esphome::api::APIServerConnection::media_player_command ( const MediaPlayerCommandRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ number_command()

virtual void esphome::api::APIServerConnection::number_command ( const NumberCommandRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ on_alarm_control_panel_command_request()

void esphome::api::APIServerConnection::on_alarm_control_panel_command_request ( const AlarmControlPanelCommandRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1714 of file api_pb2_service.cpp.

◆ on_bluetooth_device_request()

void esphome::api::APIServerConnection::on_bluetooth_device_request ( const BluetoothDeviceRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1550 of file api_pb2_service.cpp.

◆ on_bluetooth_gatt_get_services_request()

void esphome::api::APIServerConnection::on_bluetooth_gatt_get_services_request ( const BluetoothGATTGetServicesRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1563 of file api_pb2_service.cpp.

◆ on_bluetooth_gatt_notify_request()

void esphome::api::APIServerConnection::on_bluetooth_gatt_notify_request ( const BluetoothGATTNotifyRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1628 of file api_pb2_service.cpp.

◆ on_bluetooth_gatt_read_descriptor_request()

void esphome::api::APIServerConnection::on_bluetooth_gatt_read_descriptor_request ( const BluetoothGATTReadDescriptorRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1602 of file api_pb2_service.cpp.

◆ on_bluetooth_gatt_read_request()

void esphome::api::APIServerConnection::on_bluetooth_gatt_read_request ( const BluetoothGATTReadRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1576 of file api_pb2_service.cpp.

◆ on_bluetooth_gatt_write_descriptor_request()

void esphome::api::APIServerConnection::on_bluetooth_gatt_write_descriptor_request ( const BluetoothGATTWriteDescriptorRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1615 of file api_pb2_service.cpp.

◆ on_bluetooth_gatt_write_request()

void esphome::api::APIServerConnection::on_bluetooth_gatt_write_request ( const BluetoothGATTWriteRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1589 of file api_pb2_service.cpp.

◆ on_button_command_request()

void esphome::api::APIServerConnection::on_button_command_request ( const ButtonCommandRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1432 of file api_pb2_service.cpp.

◆ on_camera_image_request()

void esphome::api::APIServerConnection::on_camera_image_request ( const CameraImageRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1367 of file api_pb2_service.cpp.

◆ on_climate_command_request()

void esphome::api::APIServerConnection::on_climate_command_request ( const ClimateCommandRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1380 of file api_pb2_service.cpp.

◆ on_connect_request()

void esphome::api::APIServerConnection::on_connect_request ( const ConnectRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1209 of file api_pb2_service.cpp.

◆ on_cover_command_request()

void esphome::api::APIServerConnection::on_cover_command_request ( const CoverCommandRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1315 of file api_pb2_service.cpp.

◆ on_date_command_request()

void esphome::api::APIServerConnection::on_date_command_request ( const DateCommandRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1484 of file api_pb2_service.cpp.

◆ on_date_time_command_request()

void esphome::api::APIServerConnection::on_date_time_command_request ( const DateTimeCommandRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1510 of file api_pb2_service.cpp.

◆ on_device_info_request()

void esphome::api::APIServerConnection::on_device_info_request ( const DeviceInfoRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1227 of file api_pb2_service.cpp.

◆ on_disconnect_request()

void esphome::api::APIServerConnection::on_disconnect_request ( const DisconnectRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1215 of file api_pb2_service.cpp.

◆ on_execute_service_request()

void esphome::api::APIServerConnection::on_execute_service_request ( const ExecuteServiceRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1303 of file api_pb2_service.cpp.

◆ on_fan_command_request()

void esphome::api::APIServerConnection::on_fan_command_request ( const FanCommandRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1328 of file api_pb2_service.cpp.

◆ on_get_time_request()

void esphome::api::APIServerConnection::on_get_time_request ( const GetTimeRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1293 of file api_pb2_service.cpp.

◆ on_hello_request()

void esphome::api::APIServerConnection::on_hello_request ( const HelloRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1203 of file api_pb2_service.cpp.

◆ on_light_command_request()

void esphome::api::APIServerConnection::on_light_command_request ( const LightCommandRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1341 of file api_pb2_service.cpp.

◆ on_list_entities_request()

void esphome::api::APIServerConnection::on_list_entities_request ( const ListEntitiesRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1237 of file api_pb2_service.cpp.

◆ on_lock_command_request()

void esphome::api::APIServerConnection::on_lock_command_request ( const LockCommandRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1445 of file api_pb2_service.cpp.

◆ on_media_player_command_request()

void esphome::api::APIServerConnection::on_media_player_command_request ( const MediaPlayerCommandRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1471 of file api_pb2_service.cpp.

◆ on_number_command_request()

void esphome::api::APIServerConnection::on_number_command_request ( const NumberCommandRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1393 of file api_pb2_service.cpp.

◆ on_ping_request()

void esphome::api::APIServerConnection::on_ping_request ( const PingRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1221 of file api_pb2_service.cpp.

◆ on_select_command_request()

void esphome::api::APIServerConnection::on_select_command_request ( const SelectCommandRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1419 of file api_pb2_service.cpp.

◆ on_subscribe_bluetooth_connections_free_request()

void esphome::api::APIServerConnection::on_subscribe_bluetooth_connections_free_request ( const SubscribeBluetoothConnectionsFreeRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1641 of file api_pb2_service.cpp.

◆ on_subscribe_bluetooth_le_advertisements_request()

void esphome::api::APIServerConnection::on_subscribe_bluetooth_le_advertisements_request ( const SubscribeBluetoothLEAdvertisementsRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1536 of file api_pb2_service.cpp.

◆ on_subscribe_home_assistant_states_request()

void esphome::api::APIServerConnection::on_subscribe_home_assistant_states_request ( const SubscribeHomeAssistantStatesRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1282 of file api_pb2_service.cpp.

◆ on_subscribe_homeassistant_services_request()

void esphome::api::APIServerConnection::on_subscribe_homeassistant_services_request ( const SubscribeHomeassistantServicesRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1270 of file api_pb2_service.cpp.

◆ on_subscribe_logs_request()

void esphome::api::APIServerConnection::on_subscribe_logs_request ( const SubscribeLogsRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1259 of file api_pb2_service.cpp.

◆ on_subscribe_states_request()

void esphome::api::APIServerConnection::on_subscribe_states_request ( const SubscribeStatesRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1248 of file api_pb2_service.cpp.

◆ on_subscribe_voice_assistant_request()

void esphome::api::APIServerConnection::on_subscribe_voice_assistant_request ( const SubscribeVoiceAssistantRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1672 of file api_pb2_service.cpp.

◆ on_switch_command_request()

void esphome::api::APIServerConnection::on_switch_command_request ( const SwitchCommandRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1354 of file api_pb2_service.cpp.

◆ on_text_command_request()

void esphome::api::APIServerConnection::on_text_command_request ( const TextCommandRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1406 of file api_pb2_service.cpp.

◆ on_time_command_request()

void esphome::api::APIServerConnection::on_time_command_request ( const TimeCommandRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1497 of file api_pb2_service.cpp.

◆ on_unsubscribe_bluetooth_le_advertisements_request()

void esphome::api::APIServerConnection::on_unsubscribe_bluetooth_le_advertisements_request ( const UnsubscribeBluetoothLEAdvertisementsRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1658 of file api_pb2_service.cpp.

◆ on_update_command_request()

void esphome::api::APIServerConnection::on_update_command_request ( const UpdateCommandRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1523 of file api_pb2_service.cpp.

◆ on_valve_command_request()

void esphome::api::APIServerConnection::on_valve_command_request ( const ValveCommandRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1458 of file api_pb2_service.cpp.

◆ on_voice_assistant_configuration_request()

void esphome::api::APIServerConnection::on_voice_assistant_configuration_request ( const VoiceAssistantConfigurationRequest msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1685 of file api_pb2_service.cpp.

◆ on_voice_assistant_set_configuration()

void esphome::api::APIServerConnection::on_voice_assistant_set_configuration ( const VoiceAssistantSetConfiguration msg)
overrideprotectedvirtual

Reimplemented from esphome::api::APIServerConnectionBase.

Definition at line 1701 of file api_pb2_service.cpp.

◆ ping()

virtual PingResponse esphome::api::APIServerConnection::ping ( const PingRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ select_command()

virtual void esphome::api::APIServerConnection::select_command ( const SelectCommandRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ subscribe_bluetooth_connections_free()

virtual BluetoothConnectionsFreeResponse esphome::api::APIServerConnection::subscribe_bluetooth_connections_free ( const SubscribeBluetoothConnectionsFreeRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ subscribe_bluetooth_le_advertisements()

virtual void esphome::api::APIServerConnection::subscribe_bluetooth_le_advertisements ( const SubscribeBluetoothLEAdvertisementsRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ subscribe_home_assistant_states()

virtual void esphome::api::APIServerConnection::subscribe_home_assistant_states ( const SubscribeHomeAssistantStatesRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ subscribe_homeassistant_services()

virtual void esphome::api::APIServerConnection::subscribe_homeassistant_services ( const SubscribeHomeassistantServicesRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ subscribe_logs()

virtual void esphome::api::APIServerConnection::subscribe_logs ( const SubscribeLogsRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ subscribe_states()

virtual void esphome::api::APIServerConnection::subscribe_states ( const SubscribeStatesRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ subscribe_voice_assistant()

virtual void esphome::api::APIServerConnection::subscribe_voice_assistant ( const SubscribeVoiceAssistantRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ switch_command()

virtual void esphome::api::APIServerConnection::switch_command ( const SwitchCommandRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ text_command()

virtual void esphome::api::APIServerConnection::text_command ( const TextCommandRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ time_command()

virtual void esphome::api::APIServerConnection::time_command ( const TimeCommandRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ unsubscribe_bluetooth_le_advertisements()

virtual void esphome::api::APIServerConnection::unsubscribe_bluetooth_le_advertisements ( const UnsubscribeBluetoothLEAdvertisementsRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ update_command()

virtual void esphome::api::APIServerConnection::update_command ( const UpdateCommandRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ valve_command()

virtual void esphome::api::APIServerConnection::valve_command ( const ValveCommandRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ voice_assistant_get_configuration()

virtual VoiceAssistantConfigurationResponse esphome::api::APIServerConnection::voice_assistant_get_configuration ( const VoiceAssistantConfigurationRequest msg)
pure virtual

Implemented in esphome::api::APIConnection.

◆ voice_assistant_set_configuration()

virtual void esphome::api::APIServerConnection::voice_assistant_set_configuration ( const VoiceAssistantSetConfiguration msg)
pure virtual

Implemented in esphome::api::APIConnection.


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