Example of toggling between two inputs on a Sony Bravia TV.
E.g. a Mac Mini HTPC on HDMI 1 and a Nintendo Switch on HDMI 2.
You're assumed to have set up a pre-shared key (PSK) per https://github.com/breunigs/bravia-auth-and-remote/.
It assumes it can call
send_sony_tv_command.sh. Change the path if needed.