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

Typed Number 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 dependency graph for number.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  esphome::api::NumberInfo
 Static description of a number entity. More...
 
struct  esphome::api::NumberState
 A number's reported value. More...
 
struct  esphome::api::NumberCommand
 A command to set a number's value. More...
 

Namespaces

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

Functions

NumberInfo esphome::api::parse_number_info (const proto::ListEntitiesNumberResponse &msg)
 
NumberState esphome::api::parse_number_state (const proto::NumberStateResponse &msg)
 
std::unique_ptr< ProtoMessageesphome::api::to_message (const NumberCommand &cmd)
 

Detailed Description

Typed Number entity (info + state + command).