a83e741dc7c33430719e3eb25678eef9f0b99864,homeassistant/components/sensor/fitbit.py,FitbitAuthCallbackView,get,#FitbitAuthCallbackView#Any#,333
Before Change
ATTR_CLIENT_SECRET: self.oauth.client_secret,
ATTR_LAST_SAVED_AT: int(time.time())
}
if not config_from_file(hass.config.path(FITBIT_CONFIG_FILE),
config_contents):
_LOGGER.error("Failed to save config file")
hass.async_add_job(setup_platform, hass, self.config, self.add_devices)
return html_response
After Change
ATTR_CLIENT_SECRET: self.oauth.client_secret,
ATTR_LAST_SAVED_AT: int(time.time())
}
save_json(hass.config.path(FITBIT_CONFIG_FILE), config_contents)
hass.async_add_job(setup_platform, hass, self.config, self.add_devices)
return html_response
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: home-assistant/home-assistant
Commit Name: a83e741dc7c33430719e3eb25678eef9f0b99864
Time: 2017-11-19
Author: markus@mnigbur.de
File Name: homeassistant/components/sensor/fitbit.py
Class Name: FitbitAuthCallbackView
Method Name: get
Project Name: home-assistant/home-assistant
Commit Name: a83e741dc7c33430719e3eb25678eef9f0b99864
Time: 2017-11-19
Author: markus@mnigbur.de
File Name: homeassistant/components/sensor/fitbit.py
Class Name: FitbitSensor
Method Name: update
Project Name: home-assistant/home-assistant
Commit Name: a83e741dc7c33430719e3eb25678eef9f0b99864
Time: 2017-11-19
Author: markus@mnigbur.de
File Name: homeassistant/components/light/insteon_local.py
Class Name:
Method Name: setup_light
Project Name: home-assistant/home-assistant
Commit Name: a83e741dc7c33430719e3eb25678eef9f0b99864
Time: 2017-11-19
Author: markus@mnigbur.de
File Name: homeassistant/components/switch/insteon_local.py
Class Name:
Method Name: setup_switch