Trying to create a file by declaring /local/filename

Within Hubitat doc's under File Manager it says:

A second way to create a local file in a rule is to create a local variable whose name begins with /local/ , for example, /local/myFile

I have tried to utilize this and cannot get it to work. Has anyone been able to do this?
Thanks

That use is for referencing an existing file as a String in Rule 5.1. It doesn't create a file, it only references an existing file. This is only available as %/local/file-name% in an appropriate String context.

1 Like