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

Typed Button entity (info + 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 dependency graph for button.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  esphome::api::ButtonInfo
 Static description of a button entity. More...
 
struct  esphome::api::ButtonCommand
 A command to press a button. More...
 

Namespaces

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

Functions

ButtonInfo esphome::api::parse_button_info (const proto::ListEntitiesButtonResponse &msg)
 
std::unique_ptr< ProtoMessageesphome::api::to_message (const ButtonCommand &cmd)
 

Detailed Description

Typed Button entity (info + command).

A button has no state.