Smart way to manage IR products

I wonder if you’ve worked out a way to smart control IR blaster items.
Eg I can turn on my TV using an tuya scene. I can link a button in HA to that scene.

So it can look like

And when I click it calls the scene. But of course if you use the real IR remote, the TV turns off. Then the icon becomes opposite on the real state.

The TV was caught by DLNA so I thought there may be something there.

But it’s also dead


Apart from this, I have other IR things, like the A/C. Any good way to get them into HA?