1.9 KiB
1.9 KiB
v0.3.2 (2026-05-18)
Features
- Targeted service calls —
remote_media_player.execute_scriptandremote_media_player.play_media_filenow accept Home Assistant's standardtarget:block (device_id,entity_id,area_id). Calls without a target keep the legacy fan-out behavior and run on every configured hub, so existing automations continue to work. Targets are resolved against the device/entity registries and filtered to Remote Media Player hubs only; unmatched targets log a warning and are skipped.services.yamldeclarestarget:withintegration: remote_media_player, and the voluptuous schemas accept thedevice_id/entity_id/area_idkeys HA injects.
execute_scriptparameter rename — the script payload field is nowparams:(a named dict, validated against the server-side script schema) instead of the previousargs:list. Breaking for automations that still useargs:; update them toparams:with the named keys your script expects.
Bug Fixes
- Compatibility with new browser-folders response shape —
MediaServerClient.list_browser_folders()now unwraps the new server response ({"folders": {...}, "management_enabled": bool}) introduced after server commitc9ee41a, while still accepting the older flat dict. Restores folder listing on freshly updated media servers.
UI / Localization
- Updated English and Russian translations +
strings.jsonfor the newtarget:-aware service descriptions and theparamsfield rename. Service descriptions now explain the "no target = all hubs" behavior.
Documentation
- README "Execute Script Service" section rewritten to document the
target:block, theparams:payload, and the destructive-script safety note.
All changes above are bundled in the single release commit tagged v0.3.2.