platypush/tests/etc/include/test_procedure.yaml

15 lines
320 B
YAML

procedure.write_file:
- action: file.write
args:
file: ${file}
content: ${content}
event.hook.OnCustomEvent:
if:
type: platypush.message.event.custom.CustomEvent
subtype: test_procedure
then:
- action: procedure.write_file
args:
file: ${file}
content: ${content}