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

Typed WaterHeater 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 <optional>
#include <vector>
Include dependency graph for water_heater.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  esphome::api::WaterHeaterInfo
 Static description of a water heater entity. More...
 
struct  esphome::api::WaterHeaterState
 A water heater's reported state. More...
 
struct  esphome::api::WaterHeaterCommand
 A command to mutate a water heater. More...
 

Namespaces

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

Functions

WaterHeaterInfo esphome::api::parse_water_heater_info (const proto::ListEntitiesWaterHeaterResponse &msg)
 
WaterHeaterState esphome::api::parse_water_heater_state (const proto::WaterHeaterStateResponse &msg)
 
std::unique_ptr< ProtoMessageesphome::api::to_message (const WaterHeaterCommand &cmd)
 

Detailed Description

Typed WaterHeater entity (info + state + command).