Disable default wait_time for rc_switch (#900)

See also 82625a3080 (commitcomment-36092052)
This commit is contained in:
Otto Winter 2019-12-04 16:48:08 +01:00 committed by GitHub
parent 0698be3995
commit f68a3a9334
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -505,7 +505,7 @@ RC_SWITCH_TYPE_D_SCHEMA = cv.Schema({
RC_SWITCH_TRANSMITTER = cv.Schema({ RC_SWITCH_TRANSMITTER = cv.Schema({
cv.Optional(CONF_REPEAT, default={CONF_TIMES: 5}): cv.Schema({ cv.Optional(CONF_REPEAT, default={CONF_TIMES: 5}): cv.Schema({
cv.Required(CONF_TIMES): cv.templatable(cv.positive_int), cv.Required(CONF_TIMES): cv.templatable(cv.positive_int),
cv.Optional(CONF_WAIT_TIME, default='10ms'): cv.Optional(CONF_WAIT_TIME, default='0us'):
cv.templatable(cv.positive_time_period_microseconds), cv.templatable(cv.positive_time_period_microseconds),
}), }),
}) })