Skip to content

Commit

Permalink
Revert "Add None to preset list"
Browse files Browse the repository at this point in the history
This reverts commit 2125e27.
  • Loading branch information
mill1000 committed Jan 8, 2024
1 parent 2125e27 commit fb54461
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/winix_c545/winix_c545.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class WinixC545Fan : public fan::Fan, public Parented<WinixC545Component> {
// 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_; }
Expand All @@ -131,7 +131,7 @@ class WinixC545Fan : public fan::Fan, public Parented<WinixC545Component> {
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"};

Expand Down

0 comments on commit fb54461

Please sign in to comment.