HA-EasyComputerManager/custom_components/easy_computer_manager/services.yaml

133 lines
3.6 KiB
YAML
Raw Normal View History

send_magic_packet:
name: Send magic packet
description: Send a 'magic packet' to wake up a device with 'Wake-On-LAN' capabilities.
fields:
mac:
name: MAC address
description: MAC address of the device to wake up.
required: true
example: "aa:bb:cc:dd:ee:ff"
selector:
text:
broadcast_address:
name: Broadcast address
description: Broadcast IP where to send the magic packet.
example: 192.168.255.255
selector:
text:
broadcast_port:
name: Broadcast port
description: Port where to send the magic packet.
default: 9
selector:
number:
min: 1
max: 65535
restart_to_windows_from_linux:
2023-04-06 18:53:44 +02:00
name: Restart to Windows from Linux
description: Restart the computer to Windows when running Linux using Grub.
target:
device:
integration: easy_computer_manager
restart_to_linux_from_windows:
name: Restart to Linux from Windows
description: Restart the computer to Linux when running Windows.
target:
device:
integration: easy_computer_manager
start_computer_to_windows:
name: Start computer to Windows
description: Start the computer directly Windows (boots to Linux, set grub reboot, then boots to Windows).
target:
device:
integration: easy_computer_manager
put_computer_to_sleep:
name: Put computer to sleep
description: Put the computer to sleep.
2023-04-06 19:13:14 +02:00
target:
device:
integration: easy_computer_manager
2023-04-06 19:13:14 +02:00
restart_computer:
name: Restart
description: Restart the computer.
target:
device:
integration: easy_computer_manager
change_monitors_config:
name: Change monitors config
description: Change monitors config.
target:
entity:
integration: easy_computer_manager
domain: switch
fields:
monitors_config:
name: Monitors config
description: Monitors config.
required: true
example: |
HDMI-1:
enabled: true
primary: true
position: [ 0, 0 ]
mode: 3840x2160@120.000
transform: normal
scale: 2
selector:
2023-12-30 15:32:31 +01:00
object:
steam_big_picture:
name: Start/stop Steam Big Picture
description: Start/stop Steam Big Picture.
target:
entity:
integration: easy_computer_manager
domain: switch
fields:
action:
name: Action
description: Choose whether to start/stop Steam Big Picture or go back to the desktop Steam UI.
required: true
example: "start"
selector:
select:
options:
- label: Start
value: start
- label: Stop
value: stop
- label: Exit and go back to the desktop Steam UI
value: exit
change_audio_config:
name: Change audio config
description: Change audio config (volume, mute, input, output).
target:
entity:
integration: easy_computer_manager
domain: switch
fields:
volume:
name: Volume
description: The volume to set.
example: 50
selector:
number:
min: 0
max: 100
mute:
name: Mute
description: Mute the audio.
example: true
selector:
boolean:
input_device:
name: Input device
description: The ID/name/description of the input device.
example: "Kraken 7.1 Chroma Stéréo analogique"
selector:
text:
output_output:
name: Output device
description: The ID/name/description of the output device.
example: "Starship/Matisse HD Audio Controller Stéréo analogique"
selector:
text: