Follow the steps below for each script: (i.e. Power on, and power off)
- Open Automator
- Create a new Quick Action
- Add "Run Shell Script" to the workflow
- Select "no input" in "any application"
- Paste one of the scripts below (minus the shebang line) into the shell script window
- Set
DEVICE_HOSTNAME
to the value of the Roku TVs hostname - Select "/bin/sh" as the shell
- Test your automation