forked from platypush/platypush
16 lines
341 B
YAML
16 lines
341 B
YAML
|
procedure.write_file:
|
||
|
- action: file.write
|
||
|
args:
|
||
|
file: ${file}
|
||
|
content: ${content}
|
||
|
|
||
|
event.hook.OnCustomEvent:
|
||
|
if:
|
||
|
type: platypush.message.event.custom.CustomEvent
|
||
|
subtype: platypush_test_procedure_from_event
|
||
|
then:
|
||
|
- action: procedure.write_file
|
||
|
args:
|
||
|
file: ${file}
|
||
|
content: ${content}
|