ESPHome  2024.10.2
Data Structures | Namespaces | Enumerations
api_pb2.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::api::HelloRequest
 
class  esphome::api::HelloResponse
 
class  esphome::api::ConnectRequest
 
class  esphome::api::ConnectResponse
 
class  esphome::api::DisconnectRequest
 
class  esphome::api::DisconnectResponse
 
class  esphome::api::PingRequest
 
class  esphome::api::PingResponse
 
class  esphome::api::DeviceInfoRequest
 
class  esphome::api::DeviceInfoResponse
 
class  esphome::api::ListEntitiesRequest
 
class  esphome::api::ListEntitiesDoneResponse
 
class  esphome::api::SubscribeStatesRequest
 
class  esphome::api::ListEntitiesBinarySensorResponse
 
class  esphome::api::BinarySensorStateResponse
 
class  esphome::api::ListEntitiesCoverResponse
 
class  esphome::api::CoverStateResponse
 
class  esphome::api::CoverCommandRequest
 
class  esphome::api::ListEntitiesFanResponse
 
class  esphome::api::FanStateResponse
 
class  esphome::api::FanCommandRequest
 
class  esphome::api::ListEntitiesLightResponse
 
class  esphome::api::LightStateResponse
 
class  esphome::api::LightCommandRequest
 
class  esphome::api::ListEntitiesSensorResponse
 
class  esphome::api::SensorStateResponse
 
class  esphome::api::ListEntitiesSwitchResponse
 
class  esphome::api::SwitchStateResponse
 
class  esphome::api::SwitchCommandRequest
 
class  esphome::api::ListEntitiesTextSensorResponse
 
class  esphome::api::TextSensorStateResponse
 
class  esphome::api::SubscribeLogsRequest
 
class  esphome::api::SubscribeLogsResponse
 
class  esphome::api::SubscribeHomeassistantServicesRequest
 
class  esphome::api::HomeassistantServiceMap
 
class  esphome::api::HomeassistantServiceResponse
 
class  esphome::api::SubscribeHomeAssistantStatesRequest
 
class  esphome::api::SubscribeHomeAssistantStateResponse
 
class  esphome::api::HomeAssistantStateResponse
 
class  esphome::api::GetTimeRequest
 
class  esphome::api::GetTimeResponse
 
class  esphome::api::ListEntitiesServicesArgument
 
class  esphome::api::ListEntitiesServicesResponse
 
class  esphome::api::ExecuteServiceArgument
 
class  esphome::api::ExecuteServiceRequest
 
class  esphome::api::ListEntitiesCameraResponse
 
class  esphome::api::CameraImageResponse
 
class  esphome::api::CameraImageRequest
 
class  esphome::api::ListEntitiesClimateResponse
 
class  esphome::api::ClimateStateResponse
 
class  esphome::api::ClimateCommandRequest
 
class  esphome::api::ListEntitiesNumberResponse
 
class  esphome::api::NumberStateResponse
 
class  esphome::api::NumberCommandRequest
 
class  esphome::api::ListEntitiesSelectResponse
 
class  esphome::api::SelectStateResponse
 
class  esphome::api::SelectCommandRequest
 
class  esphome::api::ListEntitiesLockResponse
 
class  esphome::api::LockStateResponse
 
class  esphome::api::LockCommandRequest
 
class  esphome::api::ListEntitiesButtonResponse
 
class  esphome::api::ButtonCommandRequest
 
class  esphome::api::MediaPlayerSupportedFormat
 
class  esphome::api::ListEntitiesMediaPlayerResponse
 
class  esphome::api::MediaPlayerStateResponse
 
class  esphome::api::MediaPlayerCommandRequest
 
class  esphome::api::SubscribeBluetoothLEAdvertisementsRequest
 
class  esphome::api::BluetoothServiceData
 
class  esphome::api::BluetoothLEAdvertisementResponse
 
class  esphome::api::BluetoothLERawAdvertisement
 
class  esphome::api::BluetoothLERawAdvertisementsResponse
 
class  esphome::api::BluetoothDeviceRequest
 
class  esphome::api::BluetoothDeviceConnectionResponse
 
class  esphome::api::BluetoothGATTGetServicesRequest
 
class  esphome::api::BluetoothGATTDescriptor
 
class  esphome::api::BluetoothGATTCharacteristic
 
class  esphome::api::BluetoothGATTService
 
class  esphome::api::BluetoothGATTGetServicesResponse
 
class  esphome::api::BluetoothGATTGetServicesDoneResponse
 
class  esphome::api::BluetoothGATTReadRequest
 
class  esphome::api::BluetoothGATTReadResponse
 
class  esphome::api::BluetoothGATTWriteRequest
 
class  esphome::api::BluetoothGATTReadDescriptorRequest
 
class  esphome::api::BluetoothGATTWriteDescriptorRequest
 
class  esphome::api::BluetoothGATTNotifyRequest
 
class  esphome::api::BluetoothGATTNotifyDataResponse
 
class  esphome::api::SubscribeBluetoothConnectionsFreeRequest
 
class  esphome::api::BluetoothConnectionsFreeResponse
 
class  esphome::api::BluetoothGATTErrorResponse
 
class  esphome::api::BluetoothGATTWriteResponse
 
class  esphome::api::BluetoothGATTNotifyResponse
 
class  esphome::api::BluetoothDevicePairingResponse
 
class  esphome::api::BluetoothDeviceUnpairingResponse
 
class  esphome::api::UnsubscribeBluetoothLEAdvertisementsRequest
 
class  esphome::api::BluetoothDeviceClearCacheResponse
 
class  esphome::api::SubscribeVoiceAssistantRequest
 
class  esphome::api::VoiceAssistantAudioSettings
 
class  esphome::api::VoiceAssistantRequest
 
class  esphome::api::VoiceAssistantResponse
 
class  esphome::api::VoiceAssistantEventData
 
class  esphome::api::VoiceAssistantEventResponse
 
class  esphome::api::VoiceAssistantAudio
 
class  esphome::api::VoiceAssistantTimerEventResponse
 
class  esphome::api::VoiceAssistantAnnounceRequest
 
class  esphome::api::VoiceAssistantAnnounceFinished
 
class  esphome::api::VoiceAssistantWakeWord
 
class  esphome::api::VoiceAssistantConfigurationRequest
 
class  esphome::api::VoiceAssistantConfigurationResponse
 
class  esphome::api::VoiceAssistantSetConfiguration
 
class  esphome::api::ListEntitiesAlarmControlPanelResponse
 
class  esphome::api::AlarmControlPanelStateResponse
 
class  esphome::api::AlarmControlPanelCommandRequest
 
class  esphome::api::ListEntitiesTextResponse
 
class  esphome::api::TextStateResponse
 
class  esphome::api::TextCommandRequest
 
class  esphome::api::ListEntitiesDateResponse
 
class  esphome::api::DateStateResponse
 
class  esphome::api::DateCommandRequest
 
class  esphome::api::ListEntitiesTimeResponse
 
class  esphome::api::TimeStateResponse
 
class  esphome::api::TimeCommandRequest
 
class  esphome::api::ListEntitiesEventResponse
 
class  esphome::api::EventResponse
 
class  esphome::api::ListEntitiesValveResponse
 
class  esphome::api::ValveStateResponse
 
class  esphome::api::ValveCommandRequest
 
class  esphome::api::ListEntitiesDateTimeResponse
 
class  esphome::api::DateTimeStateResponse
 
class  esphome::api::DateTimeCommandRequest
 
class  esphome::api::ListEntitiesUpdateResponse
 
class  esphome::api::UpdateStateResponse
 
class  esphome::api::UpdateCommandRequest
 

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::api
 
 esphome::api::enums
 

Enumerations

enum  esphome::api::enums::EntityCategory : uint32_t { esphome::api::enums::ENTITY_CATEGORY_NONE = 0, esphome::api::enums::ENTITY_CATEGORY_CONFIG = 1, esphome::api::enums::ENTITY_CATEGORY_DIAGNOSTIC = 2 }
 
enum  esphome::api::enums::LegacyCoverState : uint32_t { esphome::api::enums::LEGACY_COVER_STATE_OPEN = 0, esphome::api::enums::LEGACY_COVER_STATE_CLOSED = 1 }
 
enum  esphome::api::enums::CoverOperation : uint32_t { esphome::api::enums::COVER_OPERATION_IDLE = 0, esphome::api::enums::COVER_OPERATION_IS_OPENING = 1, esphome::api::enums::COVER_OPERATION_IS_CLOSING = 2 }
 
enum  esphome::api::enums::LegacyCoverCommand : uint32_t { esphome::api::enums::LEGACY_COVER_COMMAND_OPEN = 0, esphome::api::enums::LEGACY_COVER_COMMAND_CLOSE = 1, esphome::api::enums::LEGACY_COVER_COMMAND_STOP = 2 }
 
enum  esphome::api::enums::FanSpeed : uint32_t { esphome::api::enums::FAN_SPEED_LOW = 0, esphome::api::enums::FAN_SPEED_MEDIUM = 1, esphome::api::enums::FAN_SPEED_HIGH = 2 }
 
enum  esphome::api::enums::FanDirection : uint32_t { esphome::api::enums::FAN_DIRECTION_FORWARD = 0, esphome::api::enums::FAN_DIRECTION_REVERSE = 1 }
 
enum  esphome::api::enums::ColorMode : uint32_t {
  esphome::api::enums::COLOR_MODE_UNKNOWN = 0, esphome::api::enums::COLOR_MODE_ON_OFF = 1, esphome::api::enums::COLOR_MODE_BRIGHTNESS = 2, esphome::api::enums::COLOR_MODE_WHITE = 7,
  esphome::api::enums::COLOR_MODE_COLOR_TEMPERATURE = 11, esphome::api::enums::COLOR_MODE_COLD_WARM_WHITE = 19, esphome::api::enums::COLOR_MODE_RGB = 35, esphome::api::enums::COLOR_MODE_RGB_WHITE = 39,
  esphome::api::enums::COLOR_MODE_RGB_COLOR_TEMPERATURE = 47, esphome::api::enums::COLOR_MODE_RGB_COLD_WARM_WHITE = 51
}
 
enum  esphome::api::enums::SensorStateClass : uint32_t { esphome::api::enums::STATE_CLASS_NONE = 0, esphome::api::enums::STATE_CLASS_MEASUREMENT = 1, esphome::api::enums::STATE_CLASS_TOTAL_INCREASING = 2, esphome::api::enums::STATE_CLASS_TOTAL = 3 }
 
enum  esphome::api::enums::SensorLastResetType : uint32_t { esphome::api::enums::LAST_RESET_NONE = 0, esphome::api::enums::LAST_RESET_NEVER = 1, esphome::api::enums::LAST_RESET_AUTO = 2 }
 
enum  esphome::api::enums::LogLevel : uint32_t {
  esphome::api::enums::LOG_LEVEL_NONE = 0, esphome::api::enums::LOG_LEVEL_ERROR = 1, esphome::api::enums::LOG_LEVEL_WARN = 2, esphome::api::enums::LOG_LEVEL_INFO = 3,
  esphome::api::enums::LOG_LEVEL_CONFIG = 4, esphome::api::enums::LOG_LEVEL_DEBUG = 5, esphome::api::enums::LOG_LEVEL_VERBOSE = 6, esphome::api::enums::LOG_LEVEL_VERY_VERBOSE = 7
}
 
enum  esphome::api::enums::ServiceArgType : uint32_t {
  esphome::api::enums::SERVICE_ARG_TYPE_BOOL = 0, esphome::api::enums::SERVICE_ARG_TYPE_INT = 1, esphome::api::enums::SERVICE_ARG_TYPE_FLOAT = 2, esphome::api::enums::SERVICE_ARG_TYPE_STRING = 3,
  esphome::api::enums::SERVICE_ARG_TYPE_BOOL_ARRAY = 4, esphome::api::enums::SERVICE_ARG_TYPE_INT_ARRAY = 5, esphome::api::enums::SERVICE_ARG_TYPE_FLOAT_ARRAY = 6, esphome::api::enums::SERVICE_ARG_TYPE_STRING_ARRAY = 7
}
 
enum  esphome::api::enums::ClimateMode : uint32_t {
  esphome::api::enums::CLIMATE_MODE_OFF = 0, esphome::api::enums::CLIMATE_MODE_HEAT_COOL = 1, esphome::api::enums::CLIMATE_MODE_COOL = 2, esphome::api::enums::CLIMATE_MODE_HEAT = 3,
  esphome::api::enums::CLIMATE_MODE_FAN_ONLY = 4, esphome::api::enums::CLIMATE_MODE_DRY = 5, esphome::api::enums::CLIMATE_MODE_AUTO = 6
}
 
enum  esphome::api::enums::ClimateFanMode : uint32_t {
  esphome::api::enums::CLIMATE_FAN_ON = 0, esphome::api::enums::CLIMATE_FAN_OFF = 1, esphome::api::enums::CLIMATE_FAN_AUTO = 2, esphome::api::enums::CLIMATE_FAN_LOW = 3,
  esphome::api::enums::CLIMATE_FAN_MEDIUM = 4, esphome::api::enums::CLIMATE_FAN_HIGH = 5, esphome::api::enums::CLIMATE_FAN_MIDDLE = 6, esphome::api::enums::CLIMATE_FAN_FOCUS = 7,
  esphome::api::enums::CLIMATE_FAN_DIFFUSE = 8, esphome::api::enums::CLIMATE_FAN_QUIET = 9
}
 
enum  esphome::api::enums::ClimateSwingMode : uint32_t { esphome::api::enums::CLIMATE_SWING_OFF = 0, esphome::api::enums::CLIMATE_SWING_BOTH = 1, esphome::api::enums::CLIMATE_SWING_VERTICAL = 2, esphome::api::enums::CLIMATE_SWING_HORIZONTAL = 3 }
 
enum  esphome::api::enums::ClimateAction : uint32_t {
  esphome::api::enums::CLIMATE_ACTION_OFF = 0, esphome::api::enums::CLIMATE_ACTION_COOLING = 2, esphome::api::enums::CLIMATE_ACTION_HEATING = 3, esphome::api::enums::CLIMATE_ACTION_IDLE = 4,
  esphome::api::enums::CLIMATE_ACTION_DRYING = 5, esphome::api::enums::CLIMATE_ACTION_FAN = 6
}
 
enum  esphome::api::enums::ClimatePreset : uint32_t {
  esphome::api::enums::CLIMATE_PRESET_NONE = 0, esphome::api::enums::CLIMATE_PRESET_HOME = 1, esphome::api::enums::CLIMATE_PRESET_AWAY = 2, esphome::api::enums::CLIMATE_PRESET_BOOST = 3,
  esphome::api::enums::CLIMATE_PRESET_COMFORT = 4, esphome::api::enums::CLIMATE_PRESET_ECO = 5, esphome::api::enums::CLIMATE_PRESET_SLEEP = 6, esphome::api::enums::CLIMATE_PRESET_ACTIVITY = 7
}
 
enum  esphome::api::enums::NumberMode : uint32_t { esphome::api::enums::NUMBER_MODE_AUTO = 0, esphome::api::enums::NUMBER_MODE_BOX = 1, esphome::api::enums::NUMBER_MODE_SLIDER = 2 }
 
enum  esphome::api::enums::LockState : uint32_t {
  esphome::api::enums::LOCK_STATE_NONE = 0, esphome::api::enums::LOCK_STATE_LOCKED = 1, esphome::api::enums::LOCK_STATE_UNLOCKED = 2, esphome::api::enums::LOCK_STATE_JAMMED = 3,
  esphome::api::enums::LOCK_STATE_LOCKING = 4, esphome::api::enums::LOCK_STATE_UNLOCKING = 5
}
 
enum  esphome::api::enums::LockCommand : uint32_t { esphome::api::enums::LOCK_UNLOCK = 0, esphome::api::enums::LOCK_LOCK = 1, esphome::api::enums::LOCK_OPEN = 2 }
 
enum  esphome::api::enums::MediaPlayerState : uint32_t { esphome::api::enums::MEDIA_PLAYER_STATE_NONE = 0, esphome::api::enums::MEDIA_PLAYER_STATE_IDLE = 1, esphome::api::enums::MEDIA_PLAYER_STATE_PLAYING = 2, esphome::api::enums::MEDIA_PLAYER_STATE_PAUSED = 3 }
 
enum  esphome::api::enums::MediaPlayerCommand : uint32_t {
  esphome::api::enums::MEDIA_PLAYER_COMMAND_PLAY = 0, esphome::api::enums::MEDIA_PLAYER_COMMAND_PAUSE = 1, esphome::api::enums::MEDIA_PLAYER_COMMAND_STOP = 2, esphome::api::enums::MEDIA_PLAYER_COMMAND_MUTE = 3,
  esphome::api::enums::MEDIA_PLAYER_COMMAND_UNMUTE = 4
}
 
enum  esphome::api::enums::MediaPlayerFormatPurpose : uint32_t { esphome::api::enums::MEDIA_PLAYER_FORMAT_PURPOSE_DEFAULT = 0, esphome::api::enums::MEDIA_PLAYER_FORMAT_PURPOSE_ANNOUNCEMENT = 1 }
 
enum  esphome::api::enums::BluetoothDeviceRequestType : uint32_t {
  esphome::api::enums::BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT = 0, esphome::api::enums::BLUETOOTH_DEVICE_REQUEST_TYPE_DISCONNECT = 1, esphome::api::enums::BLUETOOTH_DEVICE_REQUEST_TYPE_PAIR = 2, esphome::api::enums::BLUETOOTH_DEVICE_REQUEST_TYPE_UNPAIR = 3,
  esphome::api::enums::BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITH_CACHE = 4, esphome::api::enums::BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITHOUT_CACHE = 5, esphome::api::enums::BLUETOOTH_DEVICE_REQUEST_TYPE_CLEAR_CACHE = 6
}
 
enum  esphome::api::enums::VoiceAssistantSubscribeFlag : uint32_t { esphome::api::enums::VOICE_ASSISTANT_SUBSCRIBE_NONE = 0, esphome::api::enums::VOICE_ASSISTANT_SUBSCRIBE_API_AUDIO = 1 }
 
enum  esphome::api::enums::VoiceAssistantRequestFlag : uint32_t { esphome::api::enums::VOICE_ASSISTANT_REQUEST_NONE = 0, esphome::api::enums::VOICE_ASSISTANT_REQUEST_USE_VAD = 1, esphome::api::enums::VOICE_ASSISTANT_REQUEST_USE_WAKE_WORD = 2 }
 
enum  esphome::api::enums::VoiceAssistantEvent : uint32_t {
  esphome::api::enums::VOICE_ASSISTANT_ERROR = 0, esphome::api::enums::VOICE_ASSISTANT_RUN_START = 1, esphome::api::enums::VOICE_ASSISTANT_RUN_END = 2, esphome::api::enums::VOICE_ASSISTANT_STT_START = 3,
  esphome::api::enums::VOICE_ASSISTANT_STT_END = 4, esphome::api::enums::VOICE_ASSISTANT_INTENT_START = 5, esphome::api::enums::VOICE_ASSISTANT_INTENT_END = 6, esphome::api::enums::VOICE_ASSISTANT_TTS_START = 7,
  esphome::api::enums::VOICE_ASSISTANT_TTS_END = 8, esphome::api::enums::VOICE_ASSISTANT_WAKE_WORD_START = 9, esphome::api::enums::VOICE_ASSISTANT_WAKE_WORD_END = 10, esphome::api::enums::VOICE_ASSISTANT_STT_VAD_START = 11,
  esphome::api::enums::VOICE_ASSISTANT_STT_VAD_END = 12, esphome::api::enums::VOICE_ASSISTANT_TTS_STREAM_START = 98, esphome::api::enums::VOICE_ASSISTANT_TTS_STREAM_END = 99
}
 
enum  esphome::api::enums::VoiceAssistantTimerEvent : uint32_t { esphome::api::enums::VOICE_ASSISTANT_TIMER_STARTED = 0, esphome::api::enums::VOICE_ASSISTANT_TIMER_UPDATED = 1, esphome::api::enums::VOICE_ASSISTANT_TIMER_CANCELLED = 2, esphome::api::enums::VOICE_ASSISTANT_TIMER_FINISHED = 3 }
 
enum  esphome::api::enums::AlarmControlPanelState : uint32_t {
  esphome::api::enums::ALARM_STATE_DISARMED = 0, esphome::api::enums::ALARM_STATE_ARMED_HOME = 1, esphome::api::enums::ALARM_STATE_ARMED_AWAY = 2, esphome::api::enums::ALARM_STATE_ARMED_NIGHT = 3,
  esphome::api::enums::ALARM_STATE_ARMED_VACATION = 4, esphome::api::enums::ALARM_STATE_ARMED_CUSTOM_BYPASS = 5, esphome::api::enums::ALARM_STATE_PENDING = 6, esphome::api::enums::ALARM_STATE_ARMING = 7,
  esphome::api::enums::ALARM_STATE_DISARMING = 8, esphome::api::enums::ALARM_STATE_TRIGGERED = 9
}
 
enum  esphome::api::enums::AlarmControlPanelStateCommand : uint32_t {
  esphome::api::enums::ALARM_CONTROL_PANEL_DISARM = 0, esphome::api::enums::ALARM_CONTROL_PANEL_ARM_AWAY = 1, esphome::api::enums::ALARM_CONTROL_PANEL_ARM_HOME = 2, esphome::api::enums::ALARM_CONTROL_PANEL_ARM_NIGHT = 3,
  esphome::api::enums::ALARM_CONTROL_PANEL_ARM_VACATION = 4, esphome::api::enums::ALARM_CONTROL_PANEL_ARM_CUSTOM_BYPASS = 5, esphome::api::enums::ALARM_CONTROL_PANEL_TRIGGER = 6
}
 
enum  esphome::api::enums::TextMode : uint32_t { esphome::api::enums::TEXT_MODE_TEXT = 0, esphome::api::enums::TEXT_MODE_PASSWORD = 1 }
 
enum  esphome::api::enums::ValveOperation : uint32_t { esphome::api::enums::VALVE_OPERATION_IDLE = 0, esphome::api::enums::VALVE_OPERATION_IS_OPENING = 1, esphome::api::enums::VALVE_OPERATION_IS_CLOSING = 2 }
 
enum  esphome::api::enums::UpdateCommand : uint32_t { esphome::api::enums::UPDATE_COMMAND_NONE = 0, esphome::api::enums::UPDATE_COMMAND_UPDATE = 1, esphome::api::enums::UPDATE_COMMAND_CHECK = 2 }