mirror of
https://github.com/esphome/esphome.git
synced 2024-12-24 22:44:54 +01:00
Fix RF receiver dumpers
This commit is contained in:
parent
6ae8e3495f
commit
36a3f96011
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ DUMPERS = {
|
|||
CONFIG_SCHEMA = vol.All(cv.ensure_list, [vol.Schema({
|
||||
cv.GenerateID(): cv.declare_variable_id(RemoteReceiverComponent),
|
||||
vol.Required(CONF_PIN): pins.gpio_input_pin_schema,
|
||||
vol.Optional(CONF_DUMP, default=[]): vol.All(vol.Lower, cv.one_of(*DUMPERS)),
|
||||
vol.Optional(CONF_DUMP, default=[]): vol.All(cv.ensure_list,
|
||||
[vol.All(vol.Lower, cv.one_of(*DUMPERS))]),
|
||||
vol.Optional(CONF_TOLERANCE): vol.All(cv.percentage_int, vol.Range(min=0)),
|
||||
vol.Optional(CONF_BUFFER_SIZE): cv.validate_bytes,
|
||||
vol.Optional(CONF_FILTER): cv.positive_time_period_microseconds,
|
||||
|
|
Loading…
Reference in a new issue