9c603d932dfe77ae8b985f5918528b6cef6b4e99,homeassistant/components/alarm_control_panel/manual.py,,,#,22

Before Change



PLATFORM_SCHEMA = vol.Schema({
    vol.Required(CONF_PLATFORM): "manual",
    vol.Optional(CONF_NAME, default=DEFAULT_ALARM_NAME): cv.string,
    vol.Optional(CONF_CODE): cv.string,
    vol.Optional(CONF_PENDING_TIME, default=DEFAULT_PENDING_TIME):
        vol.All(vol.Coerce(int), vol.Range(min=0)),
    vol.Optional(CONF_TRIGGER_TIME, default=DEFAULT_TRIGGER_TIME):
        vol.All(vol.Coerce(int), vol.Range(min=1)),
    vol.Optional(CONF_DISARM_AFTER_TRIGGER,
                 default=DEFAULT_DISARM_AFTER_TRIGGER): cv.boolean,
})

After Change


DEFAULT_TRIGGER_TIME = 120
DEFAULT_DISARM_AFTER_TRIGGER = False

SUPPORTED_PENDING_STATES = [STATE_ALARM_ARMED_AWAY, STATE_ALARM_ARMED_HOME,
                            STATE_ALARM_ARMED_NIGHT, STATE_ALARM_TRIGGERED]

ATTR_POST_PENDING_STATE = "post_pending_state"

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: home-assistant/home-assistant
Commit Name: 9c603d932dfe77ae8b985f5918528b6cef6b4e99
Time: 2017-09-14
Author: snjoetw@gmail.com
File Name: homeassistant/components/alarm_control_panel/manual.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: 9c603d932dfe77ae8b985f5918528b6cef6b4e99
Time: 2017-09-14
Author: snjoetw@gmail.com
File Name: homeassistant/components/alarm_control_panel/manual.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: 04d31e4ef4db031d8d7260ad104d342bae770075
Time: 2016-09-17
Author: mail@fabian-affolter.ch
File Name: homeassistant/components/cover/rpi_gpio.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: abcfcdd8872dfe36c3a96afafdb4ba7f6abeb47d
Time: 2017-07-26
Author: cby@cby.me
File Name: homeassistant/components/weather/yweather.py
Class Name:
Method Name: