HA-EasyComputerManager/custom_components/easy_computer_manager/services.yaml

142 lines
3.6 KiB
YAML
Raw Normal View History

send_magic_packet:
2023-12-30 20:21:37 +01:00
name: Send Magic Packet
description: Send a 'magic packet' to awaken a device with 'Wake-On-LAN' capabilities.
fields:
mac:
2023-12-30 20:21:37 +01:00
name: MAC Address
description: MAC address of the target device.
required: true
example: "aa:bb:cc:dd:ee:ff"
selector:
text:
broadcast_address:
2023-12-30 20:21:37 +01:00
name: Broadcast Address
description: Broadcast IP to send the magic packet.
example: 192.168.255.255
selector:
text:
broadcast_port:
2023-12-30 20:21:37 +01:00
name: Broadcast Port
description: Port to send the magic packet.
default: 9
selector:
number:
min: 1
max: 65535
2023-12-30 20:21:37 +01:00
restart_to_windows_from_linux:
2023-04-06 18:53:44 +02:00
name: Restart to Windows from Linux
2023-12-30 20:21:37 +01:00
description: Restart the computer to Windows while running Linux using Grub.
target:
device:
integration: easy_computer_manager
2023-12-30 20:21:37 +01:00
restart_to_linux_from_windows:
name: Restart to Linux from Windows
2023-12-30 20:21:37 +01:00
description: Restart the computer to Linux while running Windows.
target:
device:
integration: easy_computer_manager
2023-12-30 20:21:37 +01:00
start_computer_to_windows:
2023-12-30 20:21:37 +01:00
name: Start Computer to Windows
description: Directly start the computer into Windows (boot to Linux, set Grub reboot, then boot to Windows).
target:
device:
integration: easy_computer_manager
2023-12-30 20:21:37 +01:00
put_computer_to_sleep:
2023-12-30 20:21:37 +01:00
name: Put Computer to Sleep
description: Put the computer into sleep mode.
2023-04-06 19:13:14 +02:00
target:
device:
integration: easy_computer_manager
2023-12-30 20:21:37 +01:00
2023-04-06 19:13:14 +02:00
restart_computer:
2023-12-30 20:21:37 +01:00
name: Restart Computer
2023-04-06 19:13:14 +02:00
description: Restart the computer.
target:
device:
integration: easy_computer_manager
2023-12-30 20:21:37 +01:00
change_monitors_config:
2023-12-30 20:21:37 +01:00
name: Change Monitors Configuration
description: Modify monitors configuration.
target:
entity:
integration: easy_computer_manager
domain: switch
fields:
monitors_config:
2023-12-30 20:21:37 +01:00
name: Monitors Configuration
description: Monitors configuration details.
required: true
example: |
HDMI-1:
enabled: true
primary: true
2023-12-30 20:21:37 +01:00
position: [0, 0]
mode: 3840x2160@120.000
transform: normal
scale: 2
selector:
2023-12-30 15:32:31 +01:00
object:
2023-12-30 20:21:37 +01:00
2023-12-30 15:32:31 +01:00
steam_big_picture:
2023-12-30 20:21:37 +01:00
name: Start/Stop Steam Big Picture
description: Initiate or terminate Steam Big Picture mode.
2023-12-30 15:32:31 +01:00
target:
entity:
integration: easy_computer_manager
domain: switch
fields:
action:
name: Action
2023-12-30 20:21:37 +01:00
description: Choose whether to start, stop, or return to the desktop Steam UI.
2023-12-30 15:32:31 +01:00
required: true
example: "start"
selector:
select:
options:
- label: Start
value: start
- label: Stop
value: stop
2023-12-30 20:21:37 +01:00
- label: Exit and return to desktop Steam UI
value: exit
2023-12-30 20:21:37 +01:00
change_audio_config:
2023-12-30 20:21:37 +01:00
name: Change Audio Configuration
description: Adjust audio settings (volume, mute, input, output).
target:
entity:
integration: easy_computer_manager
domain: switch
fields:
volume:
name: Volume
2023-12-30 20:21:37 +01:00
description: Set the desired volume level.
example: 50
selector:
number:
min: 0
max: 100
mute:
name: Mute
description: Mute the audio.
example: true
selector:
boolean:
input_device:
2023-12-30 20:21:37 +01:00
name: Input Device
description: Specify the ID/name/description of the input device.
example: "Kraken 7.1 Chroma Stereo Analog"
selector:
text:
2023-12-30 20:21:37 +01:00
output_device:
name: Output Device
description: Specify the ID/name/description of the output device.
example: "Starship/Matisse HD Audio Controller Stereo Analog"
selector:
2023-12-30 20:21:37 +01:00
text: