Bravia TV sound output

Hi there!

I’ve been using HA for over a year. Ever since I’ve setup my Bravia TV with its dedicated integration, I’ve noticed every time I turn on the TV, the connection with my LG Soundbar gets messed up (HDMI ARC).

Back there, I’ve written a simple script to set the sound input of the soundbar a few seconds after the TV is turned on, and it works well enough. Recently, though, the TV has been firing weird “TURNED ON” events, which makes my script to run all the time.

So I decided to drop the script as well as my Bravia TV integration – no more problem. A week later, I’ve decided to add the integration again and the problem persists.

Any idea what might have been going on?

No idea, but your log might.

Yeah. I looked at it. Unfortunately, it says nothing. After all, it’s not an error or anything, you know. It’s just a mix of states that gives bad behavior.

That is an error surely. Turn the logging up and see if we can track it down.

Alright! Raising it up to debug to check if anything pops out. Thanks!

Yeah. Confirming it: no error at all. :frowning:

Did your TV get a firmware update. TV manufacturers have a habit of breaking things.

I guess until we know whether the TV is generating incorrect turn on information, or whether the HA integration is generating the mistake it is hard to know where to go.

The underlying library is here, you could have a play? GitHub - dcnielsen90/python-bravia-tv

Yeah, I thought about that, but it’s been broken since day one. Thanks for sharing the library. I’m gonna play with it a bit. :crossed_fingers:

Those are kinda inconsistent.

I understand, but it is what it is. :man_shrugging: It’s intermittent and, apparently, dependent on the app running in the TV. I mean, I get more “TURNED ON” events when watching Netflix than when watching Prime. None of those happen when watching cable, though.