From 6bb75f2a0195d1a3ec15809117d35863dd3013db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Koek?= Date: Mon, 3 Jun 2024 13:01:52 +0100 Subject: [PATCH] Update ebyte_lora_component.h --- esphome/components/ebyte_lora/ebyte_lora_component.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/esphome/components/ebyte_lora/ebyte_lora_component.h b/esphome/components/ebyte_lora/ebyte_lora_component.h index d9789a91ce..975699d9e0 100644 --- a/esphome/components/ebyte_lora/ebyte_lora_component.h +++ b/esphome/components/ebyte_lora/ebyte_lora_component.h @@ -90,7 +90,6 @@ class EbyteLoraComponent : public PollingComponent, public uart::UARTDevice { InternalGPIOPin *pin_m0_{nullptr}; InternalGPIOPin *pin_m1_{nullptr}; }; -#ifdef USE_SWITCH class EbyteLoraSwitch : public switch_::Switch, public Parented { public: void set_pin(uint8_t pin) { pin_ = pin; } @@ -100,6 +99,5 @@ class EbyteLoraSwitch : public switch_::Switch, public Parentedparent_->send_switch_info_(); } uint8_t pin_; }; -#endif } // namespace ebyte_lora } // namespace esphome