7f0dd442fddb8478c14d0060b7a28631b8fa706c,homeassistant/components/wemo.py,,setup,#Any#Any#,76

Before Change


    if config.get(DOMAIN, {}).get(CONF_DISCOVERY):
        _LOGGER.debug("Scanning for WeMo devices.")
        devices.extend(
            (setup_url_for_device(device), device)
            for device in pywemo.discover_devices())

    for url, device in devices:
        _LOGGER.debug("Adding wemo at %s:%i", device.host, device.port)

After Change



    devices = []

    _LOGGER.debug("Scanning statically configured WeMo devices...")
    for host, port in config.get(DOMAIN, {}).get(CONF_STATIC, []):
        url = setup_url_for_address(host, port)

        if not url:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: home-assistant/home-assistant
Commit Name: 7f0dd442fddb8478c14d0060b7a28631b8fa706c
Time: 2018-12-18
Author: adam@sqldiablo.com
File Name: homeassistant/components/wemo.py
Class Name:
Method Name: setup


Project Name: markovmodel/PyEMMA
Commit Name: dbfe2afe79ac497075e50a3e569a1d63a346fb4d
Time: 2017-04-06
Author: m.scherer@fu-berlin.de
File Name: pyemma/_base/serialization/serialization.py
Class Name: SerializableMixIn
Method Name: _validate_interpolation_map


Project Name: hyperspy/hyperspy
Commit Name: 510386edf14401f5531c02556972bdcfa42a0c8a
Time: 2017-05-26
Author: frandelapena@gmail.com
File Name: hyperspy/misc/array_tools.py
Class Name:
Method Name: rebin