The storage.set: command saves a value to long-term storage. This key/value can be shared between automations and invocations.
start: storage.set: inputs: key: some.arbitrary.identifier value: This is the saved value. expires: +15 mins storage.get: output: result inputs: key: some.arbitrary.identifier return: output@key: result
output: This is the saved value.
||√||The storage key to save. This is an arbitrary identifier.|
||√||The value to for the storage key.|
||The optional date/time to expire the key (e.g.
The optional placeholder to store the result.
The commands to run during simulation instead of saving the storage key.
If omitted, the storage key is set during simulation.
The commands to run on success.
output: placeholder is set to a dictionary with these keys:
||The key which was set.|
||The optional expiration of the key.|
output: placeholder receives a dictionary with these keys:
||The error message.|