Chromecast status


Is it possible to use chromecast status (playing, paused...) as rule trigger?

I would like to turn on my amplifier with speakers (Tradfri outlet) when casting to chromecast (status: playing) and turn off after for example 5-10 minutes) when chromecast is in paused (or not playing state).
Any ideas? I'm still hubitat noob I admit.


If RM can't do it, you could try WATO (or a combination of WATO, a virtual switch, and Rule Machine.)