From a0443ac328cd87443139b219a4d5a8c1e211ff76 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Wed, 29 May 2024 21:12:47 +0200 Subject: [PATCH] Add translation strings for Matter Fan presets (#118401) --- homeassistant/components/matter/icons.json | 21 ++++++++++++++++++++ homeassistant/components/matter/strings.json | 16 +++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 homeassistant/components/matter/icons.json diff --git a/homeassistant/components/matter/icons.json b/homeassistant/components/matter/icons.json new file mode 100644 index 00000000000..94da41931de --- /dev/null +++ b/homeassistant/components/matter/icons.json @@ -0,0 +1,21 @@ +{ + "entity": { + "fan": { + "fan": { + "state_attributes": { + "preset_mode": { + "default": "mdi:fan", + "state": { + "low": "mdi:fan-speed-1", + "medium": "mdi:fan-speed-2", + "high": "mdi:fan-speed-3", + "auto": "mdi:fan-auto", + "natural_wind": "mdi:tailwind", + "sleep_wind": "mdi:sleep" + } + } + } + } + } + } +} diff --git a/homeassistant/components/matter/strings.json b/homeassistant/components/matter/strings.json index c68b38bbb8c..c6c2d779255 100644 --- a/homeassistant/components/matter/strings.json +++ b/homeassistant/components/matter/strings.json @@ -62,6 +62,22 @@ } } }, + "fan": { + "fan": { + "state_attributes": { + "preset_mode": { + "state": { + "low": "Low", + "medium": "Medium", + "high": "High", + "auto": "Auto", + "natural_wind": "Natural wind", + "sleep_wind": "Sleep wind" + } + } + } + } + }, "sensor": { "flow": { "name": "Flow"