I had my IKEA Tradfri working fine until I ran some updates on my Pi (I think that’s the trigger, but not sure) Now the component fails to initialise. I followed the instructions on https://home-assistant.io/components/tradfri/ again, which seemed to work fine. If I enable discovery, HA finds the gateway and prompts me to enter the AP key, nothing happens when I do that.
The only error I find in the logs is
17-05-05 10:58:11 ERROR (MainThread) [homeassistant.setup] Setup failed for tradfri: Component failed to initialize.
The gateway works fine using the IKEA app.