Problems with Kodi component (Error 500)

Hello. I am having some problems with the Kodi component. It expands and collapses all the time with a white image (see GIF below).

Kodi

After looking in the browser console, I see that every time it does it, it tries calling http://HA_URL/api/media_player_proxy/media_player.rasplex__stue?token=TOKEN&cache=45e9afa3ddb7cd36 but receives a 500 error. I can’t see any errors in my Home Assistant log. The controls work fine.

Does anyone have any ideas for why this happens?¨

My configuration looks like this:

- platform: kodi
host: 192.168.0.201
port: 3005
name: Rasplex - Stue
enable_websocket: true

Funny.I’ve the same issue.on all media players . PlayStation kodi …but not lg TV media remote …