From 7f1d10dccab323e06f06ba039ce88aee00e54663 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Mon, 4 Apr 2022 17:53:16 +0200 Subject: [PATCH] Improve switch_as_x translation strings (#69249) --- homeassistant/components/switch_as_x/strings.json | 3 +-- .../components/switch_as_x/translations/en.json | 10 +++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/homeassistant/components/switch_as_x/strings.json b/homeassistant/components/switch_as_x/strings.json index 05863b0c5fe..10adfd7686e 100644 --- a/homeassistant/components/switch_as_x/strings.json +++ b/homeassistant/components/switch_as_x/strings.json @@ -1,9 +1,8 @@ { - "title": "Switch as X", + "title": "Change device type of a switch", "config": { "step": { "user": { - "title": "Change switch device type", "description": "Pick a switch that you want to show up in Home Assistant as a light, cover or anything else. The original switch will be hidden.", "data": { "entity_id": "Switch", diff --git a/homeassistant/components/switch_as_x/translations/en.json b/homeassistant/components/switch_as_x/translations/en.json index 5c6fb30b9f2..7709a27cf35 100644 --- a/homeassistant/components/switch_as_x/translations/en.json +++ b/homeassistant/components/switch_as_x/translations/en.json @@ -1,14 +1,14 @@ { "config": { "step": { - "init": { + "user": { "data": { - "entity_id": "Switch entity", - "target_domain": "Type" + "entity_id": "Switch", + "target_domain": "New Type" }, - "title": "Make a switch a ..." + "description": "Pick a switch that you want to show up in Home Assistant as a light, cover or anything else. The original switch will be hidden." } } }, - "title": "Switch as X" + "title": "Change device type of a switch" } \ No newline at end of file