Improve strings for helper flow scaffold (#68257)
parent
81d001bcdc
commit
ead5b3e2c0
|
@ -154,10 +154,19 @@ def _custom_tasks(template, info: Info) -> None:
|
|||
info.update_manifest(config_flow=True)
|
||||
info.update_strings(
|
||||
config={
|
||||
"step": {
|
||||
"user": {
|
||||
"description": "New NEW_NAME Sensor",
|
||||
"data": {"entity": "Input sensor", "name": "Name"},
|
||||
},
|
||||
},
|
||||
},
|
||||
options={
|
||||
"step": {
|
||||
"init": {
|
||||
"description": "Select the sensor for the NEW_NAME.",
|
||||
"data": {"entity_id": "Sensor entity"},
|
||||
"data": {
|
||||
"entity": "[%key:component::NEW_DOMAIN::config::step::user::description%]"
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue