04d31e4ef4db031d8d7260ad104d342bae770075,homeassistant/components/cover/rpi_gpio.py,,,#,19
Before Change
_COVERS_SCHEMA = vol.All(
cv.ensure_list,
[
vol.Schema({
"name": str,
"relay_pin": int,
"state_pin": int,
})
]
)
PLATFORM_SCHEMA = vol.Schema({
"platform": str,
After Change
]
)
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
vol.Required(CONF_COVERS): _COVERS_SCHEMA,
vol.Optional(CONF_STATE_PULL_MODE, default=DEFAULT_STATE_PULL_MODE):
cv.string,
vol.Optional(CONF_RELAY_TIME, default=DEFAULT_RELAY_TIME): cv.positive_int,
})
// pylint: disable=unused-argument
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
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: c70722dbaef64cb00dbf6793d84b5530856a35cb
Time: 2016-10-20
Author: kellerza@gmail.com
File Name: homeassistant/components/updater.py
Class Name:
Method Name:
Project Name: home-assistant/home-assistant
Commit Name: e8c6e4d561dcac5f8803365a9f9dfa82f9e352e1
Time: 2016-08-20
Author: mail@fabian-affolter.ch
File Name: homeassistant/components/sensor/snmp.py
Class Name:
Method Name: