09d531b3b95e7943df53233d1abcb40d7e87de94,homeassistant/components/media_player/gpmdp.py,,setup_platform,#Any#Any#Any#Any#,22

Before Change


        _LOGGER.error("Missing address in config")
        return False

    add_devices([GPMDP(name, address, create_connection)])


class GPMDP(MediaPlayerDevice):
    Representation of a GPMDP.

After Change


    if len(codeconfig):
        code = codeconfig.get("CODE")
    elif discovery_info is not None:
        if "gpmdp" in _CONFIGURING:
            return
        code = None
    else:
        code = None
    setup_gpmdp(hass, config, code, add_devices_callback)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: home-assistant/home-assistant
Commit Name: 09d531b3b95e7943df53233d1abcb40d7e87de94
Time: 2016-08-18
Author: nkgilley@gmail.com
File Name: homeassistant/components/media_player/gpmdp.py
Class Name:
Method Name: setup_platform


Project Name: home-assistant/home-assistant
Commit Name: 8703124c760df303d29571aa975a72cc4f868f09
Time: 2018-01-17
Author: pierre.staahl@gmail.com
File Name: homeassistant/components/media_player/yamaha.py
Class Name:
Method Name: setup_platform


Project Name: home-assistant/home-assistant
Commit Name: 84c72ebf634e0f89c381b46b44e9d050a053b9d0
Time: 2015-10-11
Author: todd@ingarfield.com
File Name: homeassistant/components/thermostat/radiotherm.py
Class Name:
Method Name: setup_platform