Files
home-assistant-core/homeassistant/components/sensor
Marcelo Moreira de Mello f76436f326 Fix fitbit error when trying to access token after upgrade. (#9183)
*   - Fixes Fitbit error when trying to refresh oauth token

  The 3rd python-fitbit module requires an extra kwarg on the FitBit
  constructor called refresh_cb. The value should be a function that
  accepts one argument token.

  This value will be a dictionary with the keys:

     'access_token', 'refresh_token', 'expires_at'

  This implements a lambda refresh_cb as required by the Fitbit module
  to work, however the new token will always be save manually on
  every update() call.

*  Simplified by calling  expires_at instead reading again from dict
2017-08-30 10:01:01 +02:00
..
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-05-02 22:47:20 +02:00
2017-05-02 09:18:47 -07:00
2017-07-04 10:06:46 +02:00
2017-05-12 20:30:07 -07:00
2017-06-29 11:03:52 +02:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-07-31 20:41:45 -07:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-08-22 22:14:06 -07:00
2017-05-02 09:18:47 -07:00
2017-05-15 14:25:46 +02:00
2017-06-11 21:40:06 -07:00
2017-05-02 09:18:47 -07:00
2017-06-29 11:03:52 +02:00
2017-07-18 16:23:39 +02:00
2017-08-19 15:24:13 +02:00
2017-06-05 08:39:31 -07:00
2017-08-06 10:08:45 +02:00
2017-05-02 09:18:47 -07:00
2017-07-25 00:05:47 -04:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-03-04 15:10:36 -08:00
2017-07-16 21:39:38 +02:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-06-13 07:22:46 +02:00
2017-08-29 16:18:36 +02:00
2017-08-10 17:27:49 +02:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-08-08 11:53:04 +02:00
…
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-05-04 07:46:43 +02:00
2017-05-02 09:18:47 -07:00
2017-08-27 11:31:06 +02:00
2017-06-18 21:32:39 -07:00
2017-05-02 09:18:47 -07:00
2017-06-26 22:30:25 +02:00
2017-08-12 08:52:56 +02:00
2017-07-07 07:55:58 -07:00
2017-05-13 14:09:00 -04:00
…
2017-07-04 10:07:06 +02:00
2017-05-02 22:47:20 +02:00
2017-08-06 15:20:51 +02:00
2017-05-02 22:47:20 +02:00
2017-05-02 22:47:20 +02:00