mirror of
https://github.com/aljazceru/addons.git
synced 2026-01-15 11:04:21 +01:00
* rpc_shutdown: Prettier YAML files * rpc_shutdown: Move run.sh to data folder * rpc_shutdown: Documentation tweaks * rpc_shutdown: Update add-on URL & Description
36 lines
937 B
JSON
36 lines
937 B
JSON
{
|
|
"name": "RPC Shutdown",
|
|
"version": "2.2",
|
|
"slug": "rpc_shutdown",
|
|
"description": "Shutdown Windows machines remotely",
|
|
"url": "https://github.com/home-assistant/hassio-addons/tree/master/rpc_shutdown",
|
|
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
|
|
"startup": "services",
|
|
"boot": "auto",
|
|
"stdin": true,
|
|
"host_network": true,
|
|
"options": {
|
|
"computers": [
|
|
{
|
|
"alias": "test-pc",
|
|
"address": "192.168.0.1",
|
|
"credentials": "user%password",
|
|
"delay": 0,
|
|
"message": "Home Assistant is shutting down this PC. This cannot be canceled. Please save your work!"
|
|
}
|
|
]
|
|
},
|
|
"schema": {
|
|
"computers": [
|
|
{
|
|
"alias": "match(^[\\w-]*$)",
|
|
"address": "str",
|
|
"credentials": "match(^[^%]*(?:%[^%]*)?$)",
|
|
"delay": "int(0,600)?",
|
|
"message": "str?"
|
|
}
|
|
]
|
|
},
|
|
"image": "homeassistant/{arch}-addon-rpc_shutdown"
|
|
}
|