hass-core/homeassistant/components/system_bridge/services.yaml
Aidan Timson 42597f80a3
Add power service to System Bridge integration (#95719)
* Add power service to System Bridge

Add missing return types

Use in list validator and fix command

* Use attr map instead of concatination

* Update strings

* Update homeassistant/components/system_bridge/strings.json

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-08-28 17:44:23 +02:00

67 lines
1.2 KiB
YAML

open_path:
fields:
bridge:
required: true
selector:
device:
integration: system_bridge
path:
required: true
example: "C:\\test\\image.png"
selector:
text:
open_url:
fields:
bridge:
required: true
selector:
device:
integration: system_bridge
url:
required: true
example: "https://www.home-assistant.io"
selector:
text:
send_keypress:
fields:
bridge:
required: true
selector:
device:
integration: system_bridge
key:
required: true
example: "audio_play"
selector:
text:
send_text:
fields:
bridge:
required: true
selector:
device:
integration: system_bridge
text:
required: true
example: "Hello world"
selector:
text:
power_command:
fields:
bridge:
required: true
selector:
device:
integration: system_bridge
command:
required: true
example: "sleep"
selector:
select:
options:
- "hibernate"
- "lock"
- "logout"
- "restart"
- "shutdown"
- "sleep"