ThinkSpeak

I updated the thinkspeak dependency and hoped to get this issue fixed but I’m not able to get the export going. Our docs says that the API key is required and the Channel ID. So far, so good. The platform setup works but not the upload.

17-01-30 20:20:54 ERROR (Thread-3) [homeassistant.components.thingspeak] Error while sending value '2.3' to Thingspeak

From the ThingSpeak documentation:

api_key (string) - Write API key for this specific channel (required). The Write API key can optionally be sent via a THINGSPEAKAPIKEY HTTP header.

My guess is that the dependency is not handling the API keys correctly.

Is anybody outthere who is running the ThingSpeak component successfully at the moment?

Same here on release 0.37.0:

17-02-07 11:36:02 ERROR (<concurrent.futures.thread.ThreadPoolExecutor object at 0x7f5b4d23bb38>_2) [homeassistant.components.thingspeak] Error while sending value '2.39' to Thingspeak
17-02-07 11:36:11 ERROR (<concurrent.futures.thread.ThreadPoolExecutor object at 0x7f5b4d23bb38>_5) [homeassistant.components.thingspeak] Error while sending value '4.38' to Thingspeak
17-02-07 11:36:22 ERROR (<concurrent.futures.thread.ThreadPoolExecutor object at 0x7f5b4d23bb38>_6) [homeassistant.components.thingspeak] Error while sending value '4.77' to Thingspeak
17-02-07 11:36:32 ERROR (<concurrent.futures.thread.ThreadPoolExecutor object at 0x7f5b4d23bb38>_8) [homeassistant.components.thingspeak] Error while sending value '4.52' to Thingspeak
17-02-07 11:36:44 ERROR (<concurrent.futures.thread.ThreadPoolExecutor object at 0x7f5b4d23bb38>_9) [homeassistant.components.thingspeak] Error while sending value '4.54' to Thingspeak
17-02-07 11:36:54 ERROR (<concurrent.futures.thread.ThreadPoolExecutor object at 0x7f5b4d23bb38>_4) [homeassistant.components.thingspeak] Error while sending value '4.66' to Thingspeak
17-02-07 11:37:06 ERROR (<concurrent.futures.thread.ThreadPoolExecutor object at 0x7f5b4d23bb38>_9) [homeassistant.components.thingspeak] Error while sending value '4.65' to Thingspeak

UPDATE:
I updated HA to 0.37.1 but still get the same error.

This PR should fix the issue: