I have a DummyDimmer class to control the volume of an mpd stream.
{
"class": "DummyDimmer",
"id": "radio-volume",
"name": "Radio Volume"
}
And the according rule is:
"if $radio-volume.dimlevel changes then execute \"/usr/bin/mpc volume $radio-volume.dimlevel\"
Now I would like to change the dimlevel by a script/rule or via the api. Only valid syntax I have found is
toggle radio-volume
which changes the dimlevel from 100% to 0% or vice versa.
So any idea of how to set the dimlevel to e.g. 75% ?
Many thanks in advance!
DerIng