I have the Harmony 650, here is what you can do:
If the HDMI switch has IR control, it should work. Check the Harmony's device compatibility website to see if it's supported.
For the Xbox One, it can power it on/off. Not sure if navigational buttons work, but text entry would need to be done on the Harmony Smart Keyboard (which I guess means you need the hub) and the USB receiver plugged into the Xbox One. So, unless you want to do that,!you would still need to use the controller.