9a25054a0d884b4b6690483151ec2d099124c0ae,homeassistant/components/evohome.py,,setup,#Any#Any#,59

Before Change


    try:
        // There"s a bug in evohomeclient2 v0.2.7: the client.__init__() sets
        // the root loglevel when EvohomeClient(debug=?), so remember it now...
        log_level = logging.getLogger().getEffectiveLevel()

        client = EvohomeClient(
            evo_data["params"][CONF_USERNAME],
            evo_data["params"][CONF_PASSWORD],

After Change


    if _LOGGER.isEnabledFor(logging.DEBUG):
        tmp_loc = dict(evo_data["config"])
        tmp_loc["locationInfo"]["postcode"] = "REDACTED"
        if "dhw" in tmp_loc[GWS][0][TCS][0]:  // if this location has DHW...
            tmp_loc[GWS][0][TCS][0]["dhw"] = "..."

        _LOGGER.debug("setup(): evo_data["config"]=%s", tmp_loc)

    load_platform(hass, "climate", DOMAIN, {}, hass_config)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: home-assistant/home-assistant
Commit Name: 9a25054a0d884b4b6690483151ec2d099124c0ae
Time: 2018-11-27
Author: david@bonnes.me
File Name: homeassistant/components/evohome.py
Class Name:
Method Name: setup


Project Name: googledatalab/pydatalab
Commit Name: 1e15dc20d7f49bd4c1bd5d8222bfd5a26e97aa18
Time: 2017-06-30
Author: qimingj@users.noreply.github.com
File Name: solutionbox/image_classification/mltoolbox/image/classification/_cloud.py
Class Name: Cloud
Method Name: preprocess


Project Name: googledatalab/pydatalab
Commit Name: 1e15dc20d7f49bd4c1bd5d8222bfd5a26e97aa18
Time: 2017-06-30
Author: qimingj@users.noreply.github.com
File Name: solutionbox/image_classification/mltoolbox/image/classification/_cloud.py
Class Name: Cloud
Method Name: batch_predict