... | ... | @@ -141,7 +141,24 @@ This addon have the following commands: |
|
|
- **user:** Username which the application will be executed from. If empty will execute on the first logged user.
|
|
|
- **visible:** The application should be visible or will be completely hidden.
|
|
|
- **fallback:** Should the system fallback to the current logged user if the specified user is not currently logged in.
|
|
|
- **Example:** `{ "command": "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe", "args": "https://iotlink.gitlab.io", "path": "C:\\Program Files (x86)\\Google\\Chrome\\Application", "user": "", "visible": true, "fallback": true }`
|
|
|
- **Home Assistant:**
|
|
|
```
|
|
|
my_computer_run_chrome:
|
|
|
alias: "My Computer - Run Chrome"
|
|
|
sequence:
|
|
|
- service: mqtt.publish
|
|
|
data:
|
|
|
topic: "iotlink/workgroup/my-computer/commands/run"
|
|
|
payload: '{ "command": "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe", "args": "https://iotlink.gitlab.io", "path": "C:\\Program Files (x86)\\Google\\Chrome\\Application", "user": "", "visible": true, "fallback": true }'
|
|
|
|
|
|
my_computer_run_ccleaner:
|
|
|
alias: "My Computer - Run CCleaner"
|
|
|
sequence:
|
|
|
- service: mqtt.publish
|
|
|
data:
|
|
|
topic: "iotlink/workgroup/my-computer/commands/run"
|
|
|
payload: '{ "command": "C:\\Program Files\\CCleaner\\CCleaner64.exe", "args": "/AUTO", "path": "C:\\Program Files\\CCleaner\\", "user": "", "visible": true, "fallback": true }'
|
|
|
```
|
|
|
|
|
|
# Observation
|
|
|
|
... | ... | |