From f2cd2ec1784e467ed55a380691b71e9acfe2fbf8 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Fri, 12 Oct 2018 09:49:10 +0200 Subject: [PATCH] Fix raw remote receiver (#158) --- esphomeyaml/components/binary_sensor/remote_receiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphomeyaml/components/binary_sensor/remote_receiver.py b/esphomeyaml/components/binary_sensor/remote_receiver.py index 7ac53f9cf..c3f6c87d5 100644 --- a/esphomeyaml/components/binary_sensor/remote_receiver.py +++ b/esphomeyaml/components/binary_sensor/remote_receiver.py @@ -74,7 +74,7 @@ def receiver_base(full_config): elif key == CONF_SONY: return SonyReceiver.new(name, config[CONF_DATA], config[CONF_NBITS]) elif key == CONF_RAW: - data = ArrayInitializer(*config[CONF_RAW], multiline=False) + data = ArrayInitializer(*config, multiline=False) return RawReceiver.new(name, data) elif key == CONF_RC_SWITCH_RAW: return RCSwitchRawReceiver.new(name, build_rc_switch_protocol(config[CONF_PROTOCOL]),