|
esphome-api-client 0.5.0
Modern C++17 client for the ESPHome native API (plaintext + Noise)
|
Typed Fan 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 <string>#include <vector>

Go to the source code of this file.
Classes | |
| struct | esphome::api::FanInfo |
| Static description of a fan entity. More... | |
| struct | esphome::api::FanState |
| A fan's reported state. More... | |
| struct | esphome::api::FanCommand |
| A command to mutate a fan. Each optional field is sent only when engaged. More... | |
Namespaces | |
| namespace | esphome |
| namespace | esphome::api |
| namespace | esphome::api::proto |
Functions | |
| FanInfo | esphome::api::parse_fan_info (const proto::ListEntitiesFanResponse &msg) |
| FanState | esphome::api::parse_fan_state (const proto::FanStateResponse &msg) |
| std::unique_ptr< ProtoMessage > | esphome::api::to_message (const FanCommand &cmd) |
Typed Fan entity (info + state + command).