From e3a6c9a6cf181a94d1634e838d4a35eaae555909 Mon Sep 17 00:00:00 2001 From: Luke Fitzgerald Date: Sun, 20 Sep 2020 03:40:33 +0100 Subject: [PATCH] fix(remote_receiver): Add missing pin setup for ESP32 (#1252) --- esphome/components/remote_receiver/remote_receiver_esp32.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/remote_receiver/remote_receiver_esp32.cpp b/esphome/components/remote_receiver/remote_receiver_esp32.cpp index 89de4da92a..97806f8a52 100644 --- a/esphome/components/remote_receiver/remote_receiver_esp32.cpp +++ b/esphome/components/remote_receiver/remote_receiver_esp32.cpp @@ -11,6 +11,7 @@ static const char *TAG = "remote_receiver.esp32"; void RemoteReceiverComponent::setup() { ESP_LOGCONFIG(TAG, "Setting up Remote Receiver..."); + this->pin_->setup(); rmt_config_t rmt{}; this->config_rmt(rmt); rmt.gpio_num = gpio_num_t(this->pin_->get_pin());