Android TV state not recognized

Hi all,

I recently bought the Philips S6906 Android TV and I am now trying to integrate it with HomeAssistant. I am currently using the AndroidTV component which works. However, the state only toggles between off and idle, so it does not detect playing or paused state.

After some debugging with the state detection, I found out that the all the fields which are returned after running the GET_PROPERTIES command stay None. Only the screen_on, awake, and wake_lock_size fields seem to be working. The audio_state field always stays on paused.

I suspect this is the issue due to which the component cannot determine the state, but how to fix this issue? Would be great to have some help.

I would also like to know if it’s possible to get this to work. I’d like some lights to turn on when I pause the tv. But the only thing it recognizes seems to be ambilight and screen state.