Kodi component in 0.34.4

Hi,

after updating to 34.4, I’m now getting this error:

16-12-07 09:28:44 ERROR (MainThread) [homeassistant.bootstrap] Invalid config for [media_player.kodi]: some but not all values in the same group of inclusion 'auth' @ data[<auth>]. Got None. (See ?:?). Please check the docs at https://home-assistant.io/components/media_player.kodi/

I’m not sure what this message is trying to tell me.
This is my config:

media_player:
  - platform: kodi
    host: http://192.168.xx.xx
    port: 8080
    name: 'kodi_box'
    user: foo
    password: s3cr3t
    turn_off_action: shutdown

Sebastian

I think you want “username”, not “user” per the docs.

I think you’re right… facepalm
Did that change recently? I have not touched the kodi config for weeks and it used to work like this pre 0.34.
Anyway, I changed user to username and the error message is gone.
Thanks!

Sebastian

I’ve had mine set up for a while with username. Three or four weeks, my guess.

Thank god, I’m not crazy… :wink:
It actually did say user: instead of username: in the example until it was changed on September 11th - I last updated my Kodi config August 31st.

Sebastian