ab80af099c165af45d08b447074f89bcf2137a02,homeassistant/components/light/limitlessled.py,,setup_platform,#Any#Any#Any#Any#,39

Before Change


     Gets the LimitlessLED lights. 
    import ledcontroller

    pool = ledcontroller.LedControllerPool([config["host"]])

    lights = []
    for i in range(1, 5):
        if "group_%d_name" % (i) in config:

After Change


    for bridge_id, bridge in enumerate(bridges):
        bridge["id"] = bridge_id

    pool = ledcontroller.LedControllerPool([x["host"] for x in bridges])

    lights = []
    for bridge in bridges:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: home-assistant/home-assistant
Commit Name: ab80af099c165af45d08b447074f89bcf2137a02
Time: 2015-10-01
Author: a@phire.org
File Name: homeassistant/components/light/limitlessled.py
Class Name:
Method Name: setup_platform


Project Name: home-assistant/home-assistant
Commit Name: 5fba67f6c37a7c36935e4f9cb227b21f1b7a1c7b
Time: 2015-11-29
Author: happyleaves.tfr@gmail.com
File Name: homeassistant/components/light/limitlessled.py
Class Name:
Method Name: setup_platform


Project Name: home-assistant/home-assistant
Commit Name: d91fe792c56d872e9054fd608978fd51a99142dd
Time: 2015-11-27
Author: happyleaves.tfr@gmail.com
File Name: homeassistant/components/light/limitlessled.py
Class Name:
Method Name: setup_platform