From 36a3f9601177d1dc5ec05235e860a0166e10091d Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Mon, 11 Jun 2018 15:21:38 +0200 Subject: [PATCH] Fix RF receiver dumpers --- esphomeyaml/components/remote_receiver.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/esphomeyaml/components/remote_receiver.py b/esphomeyaml/components/remote_receiver.py index 081b5d38e4..574d8d02d0 100644 --- a/esphomeyaml/components/remote_receiver.py +++ b/esphomeyaml/components/remote_receiver.py @@ -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,