diff --git a/esphome/components/ebus/ebus_component.cpp b/esphome/components/ebus/ebus_component.cpp index b45ef39a38..c031e930cc 100644 --- a/esphome/components/ebus/ebus_component.cpp +++ b/esphome/components/ebus/ebus_component.cpp @@ -1,3 +1,4 @@ +#ifndef USE_ESP8266 #include "ebus_component.h" @@ -160,3 +161,5 @@ void EbusComponent::update() { } // namespace ebus } // namespace esphome + +#endif // USE_ESP8266 diff --git a/esphome/components/ebus/ebus_component.h b/esphome/components/ebus/ebus_component.h index 98ea7b6eca..cfae799217 100644 --- a/esphome/components/ebus/ebus_component.h +++ b/esphome/components/ebus/ebus_component.h @@ -7,8 +7,10 @@ #include "ebus.h" +#ifndef USE_ESP8266 #include #include +#endif namespace esphome { namespace ebus { @@ -59,8 +61,10 @@ class EbusComponent : public PollingComponent { uint8_t uart_tx_pin_; uint8_t uart_rx_pin_; +#ifndef USE_ESP8266 QueueHandle_t history_queue_; QueueHandle_t command_queue_; +#endif std::list senders_; std::list receivers_;