Initial commit: Media server and Home Assistant integration
- FastAPI server for Windows media control via WinRT/SMTC - Home Assistant custom integration with media player entity - Script button entities for system commands - Position tracking with grace period for track skip handling - Server availability detection in HA entity Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
18
custom_components/remote_media_player/services.yaml
Normal file
18
custom_components/remote_media_player/services.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
execute_script:
|
||||
name: Execute Script
|
||||
description: Execute a pre-defined script on the media server
|
||||
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:
|
||||
args:
|
||||
name: Arguments
|
||||
description: Optional list of arguments to pass to the script
|
||||
required: false
|
||||
example: '["arg1", "arg2"]'
|
||||
selector:
|
||||
object:
|
||||
Reference in New Issue
Block a user