Thanks- That works. I didn’t realize that they were different components.
My setup is similar to yours where I am using Broadlink to send IR commands from Home Assistant. Since “On” and “Off” are the same IR code, it will be nice for HA to know if the TV is on or not.
Have you figured out how to change the channel on the STB from Home Assistant/Broadlink?
I havn’t tried to be honest as my TV has a web API (the LG WebOS) the only reason i’m using the broadlink for on and off is that the powering on isn’t reliable via the API (something a bit hinky with the wake magic packet i think).
It should just be a matter of programming the broadlink to use the correct button presses… but it could be complicated as it would have to know where you are starting from (as in what input you are on)…
What TV do you have?
Edit: Just re-read and noticed you said STB… principal should be the same though… you’d just have to get the codes for the channel you want… My STB is a Zgemma and so again has a Web API i can plum in to … so i just have “cbeebies” as a switch (it’s a kids channel) in HA and it sends the command to my STB to change to that channel… just have to already be on the right input on the TV but again, i could sort that using the TV’s API if i wanted to…