1a117d0bea557bf5b537fed68f4951178209dfb6,homeassistant/components/alarm_control_panel/envisalink.py,,setup_platform,#Any#Any#Any#Any#,23

Before Change


            _panic_type,
            EVL_CONTROLLER.alarm_state["partition"][part_num],
            EVL_CONTROLLER)
        add_devices([_device])

    return True

After Change


    add_devices(DEVICES)

    // Register Envisalink specific services
    descriptions = load_yaml_config_file(
        path.join(path.dirname(__file__), "services.yaml"))

    hass.services.register(alarm.DOMAIN, SERVICE_ALARM_KEYPRESS,
                           alarm_keypress_handler,
                           descriptions.get(SERVICE_ALARM_KEYPRESS),
                           schema=ALARM_KEYPRESS_SCHEMA)
    return True


class EnvisalinkAlarm(EnvisalinkDevice, alarm.AlarmControlPanel):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 12

Instances


Project Name: home-assistant/home-assistant
Commit Name: 1a117d0bea557bf5b537fed68f4951178209dfb6
Time: 2016-11-17
Author: james@nimmo.net.nz
File Name: homeassistant/components/alarm_control_panel/envisalink.py
Class Name:
Method Name: setup_platform


Project Name: home-assistant/home-assistant
Commit Name: 1a117d0bea557bf5b537fed68f4951178209dfb6
Time: 2016-11-17
Author: james@nimmo.net.nz
File Name: homeassistant/components/alarm_control_panel/envisalink.py
Class Name:
Method Name: setup_platform


Project Name: home-assistant/home-assistant
Commit Name: eeb309aea1ab125aaa12c9a977564fd40e9bb8f1
Time: 2017-12-22
Author: etsinko@gmail.com
File Name: homeassistant/components/media_player/monoprice.py
Class Name:
Method Name: setup_platform


Project Name: home-assistant/home-assistant
Commit Name: a44181fd35d0c8107c1135fced4ca571df50ac8c
Time: 2017-12-25
Author: goyney@gmail.com
File Name: homeassistant/components/alarm_control_panel/alarmdecoder.py
Class Name:
Method Name: setup_platform