From de5b5f6d360ecbc981db4f69043631e81d594703 Mon Sep 17 00:00:00 2001 From: dougiteixeira <31328123+dougiteixeira@users.noreply.github.com> Date: Fri, 19 Jul 2024 08:58:22 -0300 Subject: [PATCH] Add string for value template description in switch Template (#121865) Add string for value template descrition in switch Template --- homeassistant/components/template/strings.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/template/strings.json b/homeassistant/components/template/strings.json index f004c342eab..b1f14af2202 100644 --- a/homeassistant/components/template/strings.json +++ b/homeassistant/components/template/strings.json @@ -85,7 +85,8 @@ "value_template": "Value template" }, "data_description": { - "device_id": "[%key:component::template::config::step::sensor::data_description::device_id%]" + "device_id": "[%key:component::template::config::step::sensor::data_description::device_id%]", + "value_template": "Defines a template to set the state of the switch. If not defined, the switch will optimistically assume all commands are successful." }, "title": "Template switch" } @@ -159,7 +160,8 @@ "turn_on": "[%key:component::template::config::step::switch::data::turn_on%]" }, "data_description": { - "device_id": "[%key:component::template::config::step::sensor::data_description::device_id%]" + "device_id": "[%key:component::template::config::step::sensor::data_description::device_id%]", + "value_template": "[%key:component::template::config::step::switch::data_description::value_template%]" }, "title": "[%key:component::template::config::step::switch::title%]" }