Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced 'Middle' with 'Medium' #228

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/samsung_ac/conversions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ namespace esphome
case FanMode::Low:
return climate::ClimateFanMode::CLIMATE_FAN_LOW;
case FanMode::Mid:
return climate::ClimateFanMode::CLIMATE_FAN_MIDDLE;
return climate::ClimateFanMode::CLIMATE_FAN_MEDIUM;
case FanMode::High:
return climate::ClimateFanMode::CLIMATE_FAN_HIGH;
case FanMode::Turbo:
Expand Down Expand Up @@ -141,7 +141,7 @@ namespace esphome
{
case climate::ClimateFanMode::CLIMATE_FAN_LOW:
return FanMode::Low;
case climate::ClimateFanMode::CLIMATE_FAN_MIDDLE:
case climate::ClimateFanMode::CLIMATE_FAN_MEDIUM:
return FanMode::Mid;
case climate::ClimateFanMode::CLIMATE_FAN_HIGH:
return FanMode::High;
Expand Down
2 changes: 1 addition & 1 deletion components/samsung_ac/samsung_ac_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace esphome

std::set<climate::ClimateFanMode> fan = {
climate::ClimateFanMode::CLIMATE_FAN_HIGH,
climate::ClimateFanMode::CLIMATE_FAN_MIDDLE,
climate::ClimateFanMode::CLIMATE_FAN_MEDIUM,
climate::ClimateFanMode::CLIMATE_FAN_LOW};

if (this->mode != climate::CLIMATE_MODE_FAN_ONLY)
Expand Down