See if this helps:
@sticks18 or one of the other community members can point you to which device handler to use.
I’m sorry I can’t help you with the specific code as I depend on text-to-speech software and I can’t work with code any more.