From b1e4bae3f0c63fcfbea8e532beb29b0c66ad3fd4 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 11 Jul 2023 23:19:50 +0200 Subject: [PATCH] Migrate image_processing services to support translations (#96328) * Migrate image_processing services to support translations * Apply suggestions from code review Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --- homeassistant/components/image_processing/services.yaml | 2 -- homeassistant/components/image_processing/strings.json | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/image_processing/services.yaml b/homeassistant/components/image_processing/services.yaml index 620bd351806..6309bafcfb9 100644 --- a/homeassistant/components/image_processing/services.yaml +++ b/homeassistant/components/image_processing/services.yaml @@ -1,8 +1,6 @@ # Describes the format for available image processing services scan: - name: Scan - description: Process an image immediately target: entity: domain: image_processing diff --git a/homeassistant/components/image_processing/strings.json b/homeassistant/components/image_processing/strings.json index 861a2acc1f1..2e630cfb4de 100644 --- a/homeassistant/components/image_processing/strings.json +++ b/homeassistant/components/image_processing/strings.json @@ -12,5 +12,11 @@ } } } + }, + "services": { + "scan": { + "name": "Scan", + "description": "Processes an image immediately." + } } }