platypush/tests/etc/include/test_procedure.yaml

16 lines
320 B
YAML
Raw Permalink Normal View History

procedure.write_file:
- action: file.write
args:
file: ${file}
content: ${content}
event.hook.OnCustomEvent:
if:
type: platypush.message.event.custom.CustomEvent
2021-03-06 17:03:50 +01:00
subtype: test_procedure
then:
- action: procedure.write_file
args:
file: ${file}
content: ${content}