esphome-api-client 0.5.0
Modern C++17 client for the ESPHome native API (plaintext + Noise)
Loading...
Searching...
No Matches
Public Attributes | List of all members
esphome::api::ClimateCommand Struct Reference

A command to mutate a climate entity. Each optional field is sent only when engaged. More...

#include <climate.hpp>

Public Attributes

std::uint32_t key = 0
 
std::optional< ClimateModemode
 
std::optional< float > target_temperature
 
std::optional< float > target_temperature_low
 
std::optional< float > target_temperature_high
 
std::optional< ClimateFanModefan_mode
 
std::optional< ClimateSwingModeswing_mode
 
std::optional< std::string > custom_fan_mode
 
std::optional< ClimatePresetpreset
 
std::optional< std::string > custom_preset
 
std::optional< float > target_humidity
 

Detailed Description

A command to mutate a climate entity. Each optional field is sent only when engaged.

Member Data Documentation

◆ custom_fan_mode

std::optional<std::string> esphome::api::ClimateCommand::custom_fan_mode

◆ custom_preset

std::optional<std::string> esphome::api::ClimateCommand::custom_preset

◆ fan_mode

std::optional<ClimateFanMode> esphome::api::ClimateCommand::fan_mode

◆ key

std::uint32_t esphome::api::ClimateCommand::key = 0

◆ mode

std::optional<ClimateMode> esphome::api::ClimateCommand::mode

◆ preset

std::optional<ClimatePreset> esphome::api::ClimateCommand::preset

◆ swing_mode

std::optional<ClimateSwingMode> esphome::api::ClimateCommand::swing_mode

◆ target_humidity

std::optional<float> esphome::api::ClimateCommand::target_humidity

◆ target_temperature

std::optional<float> esphome::api::ClimateCommand::target_temperature

◆ target_temperature_high

std::optional<float> esphome::api::ClimateCommand::target_temperature_high

◆ target_temperature_low

std::optional<float> esphome::api::ClimateCommand::target_temperature_low

The documentation for this struct was generated from the following file: