kezz wrote:
>
> My first attempt at a blueprint was this:
> >
Code:
--------------------
> > alias: Squeezebox ScreenSaver
>
> <snip>
>
> action:
> - service: squeezebox.call_method
> data:
> command: playerpref
> parameters: powerOffBrightness 6
> target:
> entity_id: media_player.squeezebox_boom
> mode: single
>
--------------------
> >
>
>
I think you are not passing the parameters correctly in your
squeezebox.call_method. Try this:
Code:
--------------------
action:
- service: squeezebox.call_method
data:
command: playerpref
parameters:
- "powerOffBrightness"
- "6"
target:
entity_id: media_player.squeezebox_boom
mode: single
--------------------
Or if you prefer it on a single line:
Code:
--------------------
parameters: ["powerOffBrightness", "6"]
--------------------
Saves all the hassle with rest commands. In my experience, the HA
integration perfectly translates between entity_ids and player mac
addresses, so that was probably not the source of your problem.
------------------------------------------------------------------------
goharbourview123's Profile:
http://forums.slimdevices.com/member.php?userid=23031
View this thread: http://forums.slimdevices.com/showthread.php?t=116223
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter