From 878ed7cf219b1aa910a276a74b64dae8b72ca923 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 12 Jul 2023 15:30:36 +0200 Subject: [PATCH] Migrate intent_script services to support translations (#96394) Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --- homeassistant/components/intent_script/services.yaml | 2 -- homeassistant/components/intent_script/strings.json | 8 ++++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 homeassistant/components/intent_script/strings.json diff --git a/homeassistant/components/intent_script/services.yaml b/homeassistant/components/intent_script/services.yaml index bb981dbc69c..c983a105c93 100644 --- a/homeassistant/components/intent_script/services.yaml +++ b/homeassistant/components/intent_script/services.yaml @@ -1,3 +1 @@ reload: - name: Reload - description: Reload the intent_script configuration. diff --git a/homeassistant/components/intent_script/strings.json b/homeassistant/components/intent_script/strings.json new file mode 100644 index 00000000000..efd77d225f7 --- /dev/null +++ b/homeassistant/components/intent_script/strings.json @@ -0,0 +1,8 @@ +{ + "services": { + "reload": { + "name": "Reload", + "description": "Reloads the intent script from the YAML-configuration." + } + } +}