esphome-api-client 0.5.0
Modern C++17 client for the ESPHome native API (plaintext + Noise)
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
select.hpp File Reference

Typed Select entity (info + state + command). More...

#include <esphome/api/model/entity.hpp>
#include <esphome/api/model/enums.hpp>
#include <esphome/api/proto/proto_message.hpp>
#include <cstdint>
#include <memory>
#include <string>
#include <vector>
Include dependency graph for select.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  esphome::api::SelectInfo
 Static description of a select entity. More...
 
struct  esphome::api::SelectState
 A select's reported value. More...
 
struct  esphome::api::SelectCommand
 A command to set a select's value. More...
 

Namespaces

namespace  esphome
 
namespace  esphome::api
 
namespace  esphome::api::proto
 

Functions

SelectInfo esphome::api::parse_select_info (const proto::ListEntitiesSelectResponse &msg)
 
SelectState esphome::api::parse_select_state (const proto::SelectStateResponse &msg)
 
std::unique_ptr< ProtoMessageesphome::api::to_message (const SelectCommand &cmd)
 

Detailed Description

Typed Select entity (info + state + command).