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

Before Change


            debug=False
        )
        // ...then restore it to what it was before instantiating the client
        logging.getLogger().setLevel(log_level)

    except HTTPError as err:
        if err.response.status_code == HTTP_BAD_REQUEST:

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: home-assistant/home-assistant
Commit Name: 3d972abdabb087b7384cc8ef73f4d109629abd54
Time: 2015-10-22
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/thermostat/heat_control.py
Class Name:
Method Name: setup_platform


Project Name: home-assistant/home-assistant
Commit Name: e68cc83e64865cffc5b957cbb6852ccb13480c0b
Time: 2015-09-16
Author: stefan.jonasson@sitedirect.se
File Name: homeassistant/components/automation/time.py
Class Name:
Method Name: trigger