From 28df3d17386a44f37aa24c1f2214722830accb1e Mon Sep 17 00:00:00 2001 From: farmio Date: Wed, 12 Jun 2024 19:22:32 +0200 Subject: [PATCH 1/2] Device automation extra fields translation for ZHA --- homeassistant/components/zha/strings.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/homeassistant/components/zha/strings.json b/homeassistant/components/zha/strings.json index 04cef23b2df093..db88b26c154beb 100644 --- a/homeassistant/components/zha/strings.json +++ b/homeassistant/components/zha/strings.json @@ -249,6 +249,13 @@ "face_4": "With face 4 activated", "face_5": "With face 5 activated", "face_6": "With face 6 activated" + }, + "extra_fields": { + "color": "Color", + "duration": "Duration", + "effect_type": "Effect type", + "led_number": "LED number", + "level": "Level" } }, "services": { From 133494f4affe01a90f71da742eb6b763b914b5c8 Mon Sep 17 00:00:00 2001 From: puddly <32534428+puddly@users.noreply.github.com> Date: Fri, 21 Jun 2024 10:50:11 -0400 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Matthias Alphart --- homeassistant/components/zha/strings.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/zha/strings.json b/homeassistant/components/zha/strings.json index db88b26c154beb..f25fdf1ebe44b8 100644 --- a/homeassistant/components/zha/strings.json +++ b/homeassistant/components/zha/strings.json @@ -251,11 +251,11 @@ "face_6": "With face 6 activated" }, "extra_fields": { - "color": "Color", - "duration": "Duration", + "color": "Color hue", + "duration": "Duration in seconds", "effect_type": "Effect type", "led_number": "LED number", - "level": "Level" + "level": "Brightness (%)" } }, "services": {