What kind of script is necessary to doze a device for x minutes (=mute speaker/sound for x minutes)?
Thanks in advance
You can use an automation which switches off sound, a delay and switches it back on again. Use an input_number to specify the delay. Is that what you mean?
Yes, that sounds good, except for the input_number because I want to do it with IFTTT and Google Home.
I have not yet understood how to use an automation in combination with a script.
Could you help me out with this?
So you want to be able to say ‘disable for x minutes’? No idea if that’s possible, I’m not using IFTTT.
I know how to run a script without a variable with IFTTT. What kind of script is necessary to run if a speaker should be muted for 10 minutes (no variable) and after the volume will be set back to the last setting before the muting?