mirror of
https://github.com/home-assistant/core
synced 2024-10-04 07:58:43 +02:00
Improve strings for helper flow scaffold (#68257)
This commit is contained in:
parent
81d001bcdc
commit
ead5b3e2c0
@ -154,10 +154,19 @@ def _custom_tasks(template, info: Info) -> None:
|
|||||||
info.update_manifest(config_flow=True)
|
info.update_manifest(config_flow=True)
|
||||||
info.update_strings(
|
info.update_strings(
|
||||||
config={
|
config={
|
||||||
|
"step": {
|
||||||
|
"user": {
|
||||||
|
"description": "New NEW_NAME Sensor",
|
||||||
|
"data": {"entity": "Input sensor", "name": "Name"},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
options={
|
||||||
"step": {
|
"step": {
|
||||||
"init": {
|
"init": {
|
||||||
"description": "Select the sensor for the NEW_NAME.",
|
"data": {
|
||||||
"data": {"entity_id": "Sensor entity"},
|
"entity": "[%key:component::NEW_DOMAIN::config::step::user::description%]"
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user