Fixed wrong comment (#3286)

This commit is contained in:
Rai-Rai 2022-03-13 20:00:00 +01:00 committed by GitHub
parent aafdfa933e
commit 59f67796dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ enum ClimateSwingMode : uint8_t {
CLIMATE_SWING_HORIZONTAL = 3, CLIMATE_SWING_HORIZONTAL = 3,
}; };
/// Enum for all modes a climate swing can be in /// Enum for all preset modes
enum ClimatePreset : uint8_t { enum ClimatePreset : uint8_t {
/// No preset is active /// No preset is active
CLIMATE_PRESET_NONE = 0, CLIMATE_PRESET_NONE = 0,
@ -108,7 +108,7 @@ const LogString *climate_fan_mode_to_string(ClimateFanMode mode);
/// Convert the given ClimateSwingMode to a human-readable string. /// Convert the given ClimateSwingMode to a human-readable string.
const LogString *climate_swing_mode_to_string(ClimateSwingMode mode); const LogString *climate_swing_mode_to_string(ClimateSwingMode mode);
/// Convert the given ClimateSwingMode to a human-readable string. /// Convert the given PresetMode to a human-readable string.
const LogString *climate_preset_to_string(ClimatePreset preset); const LogString *climate_preset_to_string(ClimatePreset preset);
} // namespace climate } // namespace climate