From 7d6148a295ea8ba2589f60b683b34af79e9bd799 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 11 Jul 2023 23:20:07 +0200 Subject: [PATCH] Migrate button services to support translations (#96309) --- homeassistant/components/button/services.yaml | 2 -- homeassistant/components/button/strings.json | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/button/services.yaml b/homeassistant/components/button/services.yaml index 245368f9d5b..2f4d2c6fafe 100644 --- a/homeassistant/components/button/services.yaml +++ b/homeassistant/components/button/services.yaml @@ -1,6 +1,4 @@ press: - name: Press - description: Press the button entity. target: entity: domain: button diff --git a/homeassistant/components/button/strings.json b/homeassistant/components/button/strings.json index a92a5a0f38a..39456cdf427 100644 --- a/homeassistant/components/button/strings.json +++ b/homeassistant/components/button/strings.json @@ -21,5 +21,11 @@ "update": { "name": "Update" } + }, + "services": { + "press": { + "name": "Press", + "description": "Press the button entity." + } } }