Skip to content

Commit

Permalink
Add esphome climate quiet fan mode (#74303)
Browse files Browse the repository at this point in the history
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
  • Loading branch information
3 people committed Feb 21, 2023
1 parent 77ec6cb commit d14000f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions homeassistant/components/esphome/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
platform_async_setup_entry,
)

FAN_QUIET = "quiet"


async def async_setup_entry(
hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback
Expand Down Expand Up @@ -109,6 +111,7 @@ async def async_setup_entry(
ClimateFanMode.MIDDLE: FAN_MIDDLE,
ClimateFanMode.FOCUS: FAN_FOCUS,
ClimateFanMode.DIFFUSE: FAN_DIFFUSE,
ClimateFanMode.QUIET: FAN_QUIET,
}
)
_SWING_MODES: EsphomeEnumMapper[ClimateSwingMode, str] = EsphomeEnumMapper(
Expand Down

0 comments on commit d14000f

Please sign in to comment.