AirPlay Screen Mirror

Hey, I tried configuring a trigger (Bluetooth device connected) which starts airplay screen mirroring to my Apple TV , but it doesn’t work.
BTT has two actions related with screen mirroring, but none of them are working.
Any workaround possible?

Thanks a lot.