Files
addons/rpc_shutdown/config.yaml
Stefan Agner c7a5f7c0aa Improve GitHub action (#2364)
* Add YAML linter

* Drop GitHub registry login as its not required at this point

* Add YAML document start marker

* Fix YAMLlint issues

* Fix YAMLlint issues in .github yaml files

* Fix YAMLlint issue in .github/dependabot.yml

* Remove .github/move.yml

* Set dependabot to weekly

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>

* Use YAML strip option where appropriate

* Fix multiline string

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-04-11 09:00:11 +02:00

33 lines
733 B
YAML

---
version: "2.2"
slug: rpc_shutdown
name: 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
host_network: true
image: homeassistant/{arch}-addon-rpc_shutdown
options:
computers:
- address: 192.168.0.1
alias: test-pc
credentials: user%password
delay: 0
message:
Home Assistant is shutting down this PC. This cannot be canceled. Please
save your work!
schema:
computers:
- address: str
alias: match(^[\w-]*$)
credentials: match(^[^%]*(?:%[^%]*)?$)
delay: int(0,600)?
message: str?
startup: services
stdin: true