abcfcdd8872dfe36c3a96afafdb4ba7f6abeb47d,homeassistant/components/weather/yweather.py,,setup_platform,#Any#Any#Any#Any#,56
 
Before Change
    unit = hass.config.units.temperature_unit
    woeid = config.get(CONF_WOEID)
    forecast = config.get(CONF_FORECAST)
    name = config.get(CONF_NAME)
    yunit = UNIT_C if unit == TEMP_CELSIUS else UNIT_F
After Change
        return False
    // create condition helper
    if DATA_CONDITION not in hass.data:
        hass.data[DATA_CONDITION] = [str(x) for x in range(0, 50)]
        for cond, condlst in CONDITION_CLASSES.items():
            for condi in condlst:
                hass.data[DATA_CONDITION][condi] = cond
    add_devices([YahooWeatherWeather(yahoo_api, name)], True)
class YahooWeatherWeather(WeatherEntity):

In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
 Project Name: home-assistant/home-assistant
 Commit Name: abcfcdd8872dfe36c3a96afafdb4ba7f6abeb47d
 Time: 2017-07-26
 Author: cby@cby.me
 File Name: homeassistant/components/weather/yweather.py
 Class Name: 
 Method Name: setup_platform
 Project Name: scikit-optimize/scikit-optimize
 Commit Name: 6773c2f87fc50018d75069d6f528321be1aa1e78
 Time: 2017-06-30
 Author: iaroslav.email@gmail.com
 File Name: skopt/searchcv.py
 Class Name: BayesSearchCV
 Method Name: step
 Project Name: home-assistant/home-assistant
 Commit Name: 674682e88f5e2efef70a7760249dab88c337f212
 Time: 2018-04-19
 Author: basti@linkt.de
 File Name: homeassistant/components/maxcube.py
 Class Name: 
 Method Name: setup
 Project Name: home-assistant/home-assistant
 Commit Name: abcfcdd8872dfe36c3a96afafdb4ba7f6abeb47d
 Time: 2017-07-26
 Author: cby@cby.me
 File Name: homeassistant/components/weather/yweather.py
 Class Name: 
 Method Name: setup_platform