From fb5446133e5c6fbac5703f9ccd8fdbb9dd18fea1 Mon Sep 17 00:00:00 2001 From: Tucker Kern Date: Sun, 7 Jan 2024 19:49:41 -0700 Subject: [PATCH] Revert "Add None to preset list" This reverts commit 2125e2740579d7ec0f555b45a9a7d361b4b5dde1. --- components/winix_c545/winix_c545.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/winix_c545/winix_c545.h b/components/winix_c545/winix_c545.h index 959d5eb..8e968d2 100644 --- a/components/winix_c545/winix_c545.h +++ b/components/winix_c545/winix_c545.h @@ -122,7 +122,7 @@ class WinixC545Fan : public fan::Fan, public Parented { // Only support speed control with 4 levels: Low, Med, High, Turbo this->traits_ = fan::FanTraits(false, true, false, 4); // Add presets - this->traits_.set_supported_preset_modes({PRESET_NONE, PRESET_AUTO, PRESET_SLEEP}); + this->traits_.set_supported_preset_modes({PRESET_AUTO, PRESET_SLEEP}); } fan::FanTraits get_traits() override { return this->traits_; } @@ -131,7 +131,7 @@ class WinixC545Fan : public fan::Fan, public Parented { void update_state(const WinixStateMap &); protected: - const std::string PRESET_NONE{"None"}; + const std::string PRESET_NONE{""}; const std::string PRESET_SLEEP{"Sleep"}; const std::string PRESET_AUTO{"Auto"};