ESPHome  2022.9.1
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::ListEntitiesMediaPlayerResponse
 
class  esphome::api::MediaPlayerStateResponse
 
class  esphome::api::MediaPlayerCommandRequest
 
class  esphome::api::SubscribeBluetoothLEAdvertisementsRequest
 
class  esphome::api::BluetoothServiceData
 
class  esphome::api::BluetoothLEAdvertisementResponse
 

Namespaces

 esphome
 
 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
}
 
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
}