I can't connect to Kodi 17 (libreelec)

I´m trying to connect to Kodi 17 (libreelec) and It fails.

My configuration:

- platform: kodi
  host: http://192.168.1.xxxxxxx
  port: 8080
  name: Kodi Bedroom
  user: xxxxxxxxxx
  password: xxxxxxxxxx

Logs only says:

16-11-07 09:43:36 homeassistant.components.media_player.kodi: Unable to fetch kodi data

If I try to open http://192.168.1.xx:8080/jsonrpc on browser works. Using user/password I can see rpc methods.

Can you help me?

Initial issue:

https://github.com/home-assistant/home-assistant/issues/4164

Finally!
The problem was that I had put “user” instead of “username”. I detect when I debug it :wink:
Thanks