ESPHome  2024.10.2
climate_mode.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <cstdint>
4 #include "esphome/core/log.h"
5 
6 namespace esphome {
7 namespace climate {
8 
10 enum ClimateMode : uint8_t {
28 };
29 
31 enum ClimateAction : uint8_t {
44 };
45 
46 enum ClimateFanMode : uint8_t {
67 };
68 
70 enum ClimateSwingMode : uint8_t {
79 };
80 
82 enum ClimatePreset : uint8_t {
99 };
100 
102 const LogString *climate_mode_to_string(ClimateMode mode);
103 
105 const LogString *climate_action_to_string(ClimateAction action);
106 
109 
112 
115 
116 } // namespace climate
117 } // namespace esphome
The fan mode is set to Low.
Definition: climate_mode.h:54
The climate device is off (inactive or no power)
Definition: climate_mode.h:33
The fan mode is set to Quiet.
Definition: climate_mode.h:66
The fan mode is set to Both.
Definition: climate_mode.h:74
ClimatePreset
Enum for all preset modes.
Definition: climate_mode.h:82
The climate device is drying.
Definition: climate_mode.h:41
The climate device is in fan only mode.
Definition: climate_mode.h:43
Device is in home preset.
Definition: climate_mode.h:86
The fan mode is set to Middle.
Definition: climate_mode.h:60
const LogString * climate_mode_to_string(ClimateMode mode)
Convert the given ClimateMode to a human-readable string.
Definition: climate_mode.cpp:6
The climate device is set to heat to reach the target temperature.
Definition: climate_mode.h:18
The fan mode is set to Diffuse.
Definition: climate_mode.h:64
The climate device is set to dry/humidity mode.
Definition: climate_mode.h:22
ClimateSwingMode
Enum for all modes a climate swing can be in.
Definition: climate_mode.h:70
Device is prepared for sleep.
Definition: climate_mode.h:96
Device is in away preset.
Definition: climate_mode.h:88
Device is in comfort preset.
Definition: climate_mode.h:92
The fan mode is set to Horizontal.
Definition: climate_mode.h:78
The climate device is set to cool to reach the target temperature.
Definition: climate_mode.h:16
Device is reacting to activity (e.g., movement sensors)
Definition: climate_mode.h:98
The fan mode is set to Auto.
Definition: climate_mode.h:52
BedjetMode mode
BedJet operating mode.
Definition: bedjet_codec.h:183
ClimateAction
Enum for the current action of the climate device. Values match those of ClimateMode.
Definition: climate_mode.h:31
const LogString * climate_preset_to_string(ClimatePreset preset)
Convert the given PresetMode to a human-readable string.
The climate device is adjusting the temperatre dynamically.
Definition: climate_mode.h:27
The climate device is set to heat/cool to reach the target temperature.
Definition: climate_mode.h:14
The fan mode is set to Vertical.
Definition: climate_mode.h:76
The climate device is actively heating.
Definition: climate_mode.h:37
The fan mode is set to Focus.
Definition: climate_mode.h:62
The fan mode is set to Off.
Definition: climate_mode.h:50
The fan mode is set to High.
Definition: climate_mode.h:58
ClimateMode
Enum for all modes a climate device can be in.
Definition: climate_mode.h:10
The swing mode is set to Off.
Definition: climate_mode.h:72
The climate device is off.
Definition: climate_mode.h:12
const LogString * climate_fan_mode_to_string(ClimateFanMode fan_mode)
Convert the given ClimateFanMode to a human-readable string.
Device is in boost preset.
Definition: climate_mode.h:90
The fan mode is set to On.
Definition: climate_mode.h:48
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
The climate device is idle (monitoring climate but no action needed)
Definition: climate_mode.h:39
Device is running an energy-saving preset.
Definition: climate_mode.h:94
The fan mode is set to Medium.
Definition: climate_mode.h:56
The climate device only has the fan enabled, no heating or cooling is taking place.
Definition: climate_mode.h:20
const LogString * climate_action_to_string(ClimateAction action)
Convert the given ClimateAction to a human-readable string.
The climate device is actively cooling.
Definition: climate_mode.h:35
ClimatePreset preset
Definition: climate.h:578
const LogString * climate_swing_mode_to_string(ClimateSwingMode swing_mode)
Convert the given ClimateSwingMode to a human-readable string.