A small API made to cast YouTube videos on a target TV that's on the same network and that supports the DIAL protocol.
The main goal is to provide the possibility of automation, by integrating the API on IFTTT, and Google Assistant for voice commands.
For instructions on how to integrate this with IFTTT/Google Assistant, see here.
For the complete API documentation, see here.
Blog post: https://0x41.cf/automation/2021/03/02/google-assistant-youtube-smart-tvs.html
Tested on a Samsung RU7100 (2019) TV.