Hello,
I have a chromecast as an audio sink.
In Blockly I use “play mp3 on audio sink at volume”.
However for every volume other than 100 audio is not played and on the console I get the following error:
16:40:01.496 [ERROR] [.internal.handler.ScriptActionHandler] - Script execution of rule with UID 'alarm_weekday' failed: org.graalvm.polyglot.PolyglotException: TypeError: invokeMember (playSound) on org.openhab.core.model.script.actions.Audio failed due to: no applicable overload found (overloads: [Method[public static void org.openhab.core.model.script.actions.Audio.playSound(java.lang.String,org.openhab.core.library.types.PercentType)], Method[public static void org.openhab.core.model.script.actions.Audio.playSound(java.lang.String,float)], Method[public static void org.openhab.core.model.script.actions.Audio.playSound(java.lang.String,java.lang.String)], Method[public static void org.openhab.core.model.script.actions.Audio.playSound(java.lang.String,java.lang.String,org.openhab.core.library.types.PercentType)], Method[public static void org.openhab.core.model.script.actions.Audio.playSound(java.lang.String,java.lang.String,float)], Method[public static void org.openhab.core.model.script.actions.Audio.playSound(java.lang.String)]], arguments: [chromecast:chromecast:efa514a004bc725f6ea62842cb9ad564 (String), birds.mp3 (String), 0.6 (Double)])
How can I set a volume for audio output?
thanks
Daniel