Add string for value template description in switch Template (#121865)

Add string for value template descrition in switch Template
pull/122179/head
dougiteixeira 2024-07-19 08:58:22 -03:00 committed by GitHub
parent e9ea90dc82
commit de5b5f6d36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -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%]"
}