Skip to content

Commit

Permalink
Fix raw remote receiver (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
OttoWinter authored Oct 12, 2018
1 parent 37360bb commit f2cd2ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esphomeyaml/components/binary_sensor/remote_receiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]),
Expand Down

0 comments on commit f2cd2ec

Please sign in to comment.