From 2f8b88e6ef767c3ca27f4d2e96837c4d65c59666 Mon Sep 17 00:00:00 2001 From: mattmccormack Date: Mon, 17 Jul 2023 17:25:01 +1000 Subject: [PATCH] Add string "Quiet" to fan mode in climate component (#96584) --- homeassistant/components/esphome/climate.py | 1 + homeassistant/components/esphome/strings.json | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/homeassistant/components/esphome/climate.py b/homeassistant/components/esphome/climate.py index 34043da012e..a9b184cc936 100644 --- a/homeassistant/components/esphome/climate.py +++ b/homeassistant/components/esphome/climate.py @@ -140,6 +140,7 @@ class EsphomeClimateEntity(EsphomeEntity[ClimateInfo, ClimateState], ClimateEnti """A climate implementation for ESPHome.""" _attr_temperature_unit = UnitOfTemperature.CELSIUS + _attr_translation_key = "climate" @callback def _on_static_info_update(self, static_info: EntityInfo) -> None: diff --git a/homeassistant/components/esphome/strings.json b/homeassistant/components/esphome/strings.json index 2bbbb229949..e38e8e1a2c4 100644 --- a/homeassistant/components/esphome/strings.json +++ b/homeassistant/components/esphome/strings.json @@ -76,6 +76,17 @@ "relaxed": "[%key:component::assist_pipeline::entity::select::vad_sensitivity::state::relaxed%]" } } + }, + "climate": { + "climate": { + "state_attributes": { + "fan_mode": { + "state": { + "quiet": "Quiet" + } + } + } + } } }, "issues": {