Any roku smart tv can do this via API, home assistant already has a binding.
Not sure you will like how it works as the Hulu app would restart.
Home automation is the residential extension of building automation.
It is automation of the home, housework or household activity.
Home automation may include centralized control of lighting, HVAC (heating, ventilation and air conditioning), appliances, security locks of gates and doors and other systems, to provide improved convenience, comfort, energy efficiency and security.
Warning: Working with electricity can result in injury, property damage, or even death if it is not done properly. Please keep this in mind while assisting others. If you are not sure about what you are doing, hire a licensed professional.
Any roku smart tv can do this via API, home assistant already has a binding.
Not sure you will like how it works as the Hulu app would restart.
I am very new to this, so please excuse my ignorance. When you say Home Assistant already has a binding, does that mean I can install Home Assistant on something like a RaspPi and use HA's native functionality to complete the task? Is that what it means when you say that HA already has a binding?
Yes HASS natively supports roku and will let you change inputs (they are apps in its terms). So you can make automations based upon an app starting switch apps etc.
If you have a Samsung, some models can run a routine in smartthings and do exactly this.
It might be easier to do it externally to the TV. I think some higher end hdmi switches can accommodate something like this and may allow source 1 to continue playing while source 2 pops in. The problem with doing it on the TV itself is that usually if you use smart TV functions you'll have to start over again at the main menu when it switches back
I have a logitech hub and remote. You can program different "scenes" that will automatically turn on devices and set them to correct settings. I can also activate using Alex. For example, "Alexa, turn on apple TV." will turn on the TV, set it to the correct input, turn on my audio receiver, turn it to Apple TV (my receiver handles video switching), then hits the home button to wake my apple TV. If I want to turn it off, it will power down everything in reverse. If I want to switch to cable box, it's set-up to know receiver needs to be set to Cable Box, and then the remote is set-up to control my cable box. It also knows that all my audio goes through a sound bar so the volume button on the remote controls surround sound.