And so. The main thing is to figure out how which service works. Chromecast always goes off waiting first and shuts down after a while, freeing up the endpoint to connect devices. Roon and WiiM home often pause and only occasionally stay in idle mode. Thus, in the triggers for turning off any device that does not have a 12v trigger, you need to specify the Off state for: Chromecast and Paused state for Roon and WiiM Home.
PS Once again, I apologize for the machine translation, but I think the meaning of the text is clear.