Use !input instead of !placeholder (#43820)

* Use !input instead of !placeholder

* Update input name

* Lint

* Move tests around
This commit is contained in:
Paulus Schoutsen
2020-12-01 18:21:36 +01:00
committed by GitHub
parent 7d23ff6511
commit 1c9c99571e
23 changed files with 148 additions and 139 deletions

View File

@@ -159,9 +159,9 @@ blueprint:
service_to_call:
trigger:
platform: event
event_type: !placeholder trigger_event
event_type: !input trigger_event
action:
service: !placeholder service_to_call
service: !input service_to_call
""",
}
with patch("os.path.isfile", return_value=True), patch_yaml_files(files):