0f8e48c26df1ceb03c030b988a1d3d9bc3492f5e,homeassistant/components/alarm_control_panel/manual.py,,,#,44

Before Change


    return config


STATE_SETTING_SCHEMA = vol.Schema({
    vol.Optional(CONF_PENDING_TIME):
        vol.All(vol.Coerce(int), vol.Range(min=0))
})


PLATFORM_SCHEMA = vol.Schema(vol.All({

After Change


    vol.Required(CONF_PLATFORM): "manual",
    vol.Optional(CONF_NAME, default=DEFAULT_ALARM_NAME): cv.string,
    vol.Exclusive(CONF_CODE, "code validation"): cv.string,
    vol.Exclusive(CONF_CODE_TEMPLATE, "code validation"): cv.template,
    vol.Optional(CONF_DELAY_TIME, default=DEFAULT_DELAY_TIME):
        vol.All(cv.time_period, cv.positive_timedelta),
    vol.Optional(CONF_PENDING_TIME, default=DEFAULT_PENDING_TIME):
        vol.All(cv.time_period, cv.positive_timedelta),
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: home-assistant/home-assistant
Commit Name: 0f8e48c26df1ceb03c030b988a1d3d9bc3492f5e
Time: 2017-12-03
Author: bonzini@gnu.org
File Name: homeassistant/components/alarm_control_panel/manual.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: 0f8e48c26df1ceb03c030b988a1d3d9bc3492f5e
Time: 2017-12-03
Author: bonzini@gnu.org
File Name: homeassistant/components/alarm_control_panel/manual.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: 0f8e48c26df1ceb03c030b988a1d3d9bc3492f5e
Time: 2017-12-03
Author: bonzini@gnu.org
File Name: homeassistant/components/alarm_control_panel/manual_mqtt.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: 1f38e9fa571906e44534c0f58a086bf15b1f6e4c
Time: 2016-10-01
Author: wjs.scanlon@gmail.com
File Name: homeassistant/components/wink.py
Class Name:
Method Name: