18class ListEntitiesSelectResponse;
19class SelectStateResponse;
20class SelectCommandRequest;
30 std::uint32_t
key = 0;
38 std::uint32_t
key = 0;
Common entity metadata shared by every entity domain.
Typed mirrors of the ESPHome protobuf enums.
std::unique_ptr< ProtoMessage > to_message(const AlarmControlPanelCommand &cmd)
SelectState parse_select_state(const proto::SelectStateResponse &msg)
SelectInfo parse_select_info(const proto::ListEntitiesSelectResponse &msg)
Lightweight base class for every generated ESPHome API message.
Fields present on every ListEntities*Response.
Definition entity.hpp:16
A command to set a select's value.
Definition select.hpp:37
std::string state
Definition select.hpp:39
std::uint32_t key
Definition select.hpp:38
Static description of a select entity.
Definition select.hpp:24
std::vector< std::string > options
Definition select.hpp:25
A select's reported value.
Definition select.hpp:29
bool missing_state
True when the select currently has no valid value.
Definition select.hpp:33
std::uint32_t key
Definition select.hpp:30
std::string state
Definition select.hpp:31