Add string "Quiet" to fan mode in climate component (#96584)

pull/96724/head
mattmccormack 2023-07-17 17:25:01 +10:00 committed by GitHub
parent a8e92bfcb6
commit 2f8b88e6ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -140,6 +140,7 @@ class EsphomeClimateEntity(EsphomeEntity[ClimateInfo, ClimateState], ClimateEnti
"""A climate implementation for ESPHome.""" """A climate implementation for ESPHome."""
_attr_temperature_unit = UnitOfTemperature.CELSIUS _attr_temperature_unit = UnitOfTemperature.CELSIUS
_attr_translation_key = "climate"
@callback @callback
def _on_static_info_update(self, static_info: EntityInfo) -> None: def _on_static_info_update(self, static_info: EntityInfo) -> None:

View File

@ -76,6 +76,17 @@
"relaxed": "[%key:component::assist_pipeline::entity::select::vad_sensitivity::state::relaxed%]" "relaxed": "[%key:component::assist_pipeline::entity::select::vad_sensitivity::state::relaxed%]"
} }
} }
},
"climate": {
"climate": {
"state_attributes": {
"fan_mode": {
"state": {
"quiet": "Quiet"
}
}
}
}
} }
}, },
"issues": { "issues": {