Files
haos-hacs-integration-media…/custom_components/remote_media_player/services.yaml
T
alexei.dolgolyov 8e8acccbb2
Release / release (push) Successful in 3s
chore: release v0.3.2
2026-05-18 13:14:03 +03:00

45 lines
1.3 KiB
YAML

execute_script:
name: Execute Script
description: >-
Execute a pre-defined script on one or more Remote Media Player hubs.
If no target is selected, the script runs on ALL configured hubs.
target:
device:
integration: remote_media_player
entity:
integration: remote_media_player
fields:
script_name:
name: Script Name
description: Name of the script to execute (as defined in server config)
required: true
example: "launch_spotify"
selector:
text:
params:
name: Parameters
description: Optional named parameters to pass to the script (validated against script schema)
required: false
example: '{"level": 75, "monitor": "primary"}'
selector:
object:
play_media_file:
name: Play Media File
description: >-
Start playback of a local media file on one or more Remote Media Player hubs.
If no target is selected, playback starts on ALL configured hubs.
target:
device:
integration: remote_media_player
entity:
integration: remote_media_player
fields:
file_path:
name: File Path
description: Absolute path to the media file on the target hub
required: true
example: "C:/Media/movie.mp4"
selector:
text: