e5ef548f1072d72a6be6df53322b3f4b8692dbc8,homeassistant/components/switch/acer_projector.py,,setup_platform,#Any#Any#Any#Any#,36

Before Change


        _LOGGER.error("Missing path of serial device")
        return

    devices = []
    devices.append(AcerSwitch(serial_port, name, timeout, write_timeout))
    add_devices_callback(devices)


class AcerSwitch(SwitchDevice):
    Represents an Acer Projector as an switch.

After Change


    timeout = config.get(CONF_TIMEOUT)
    write_timeout = config.get(CONF_WRITE_TIMEOUT)

    add_devices([AcerSwitch(serial_port, name, timeout, write_timeout)])


class AcerSwitch(SwitchDevice):
    Represents an Acer Projector as an switch.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: home-assistant/home-assistant
Commit Name: e5ef548f1072d72a6be6df53322b3f4b8692dbc8
Time: 2016-09-02
Author: mail@fabian-affolter.ch
File Name: homeassistant/components/switch/acer_projector.py
Class Name:
Method Name: setup_platform


Project Name: home-assistant/home-assistant
Commit Name: 8dd7ebb08e77e035127a617c9bfbd6d5a6bb6380
Time: 2016-06-29
Author: mail@fabian-affolter.ch
File Name: homeassistant/components/sensor/deutsche_bahn.py
Class Name:
Method Name: setup_platform


Project Name: home-assistant/home-assistant
Commit Name: 29870b301ed15f0e1e930f4b685a65e76d4b6ab8
Time: 2016-09-04
Author: heikorothe@msn.com
File Name: homeassistant/components/sensor/temper.py
Class Name:
Method Name: setup_platform