From c33e9e0352cd8563282168b7901ccddf2dadf7c4 Mon Sep 17 00:00:00 2001 From: Alexander 'Leo' Bergolth Date: Thu, 14 Nov 2024 17:57:46 +0100 Subject: [PATCH] remove ifdef USE_ARDUINO --- esphome/components/web_server/states.cpp | 4 ---- esphome/components/web_server/states.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/esphome/components/web_server/states.cpp b/esphome/components/web_server/states.cpp index c215b08e5b..3c42419eb2 100644 --- a/esphome/components/web_server/states.cpp +++ b/esphome/components/web_server/states.cpp @@ -1,5 +1,3 @@ -#ifdef USE_ARDUINO - #include "list_entities.h" #include "esphome/core/application.h" @@ -31,5 +29,3 @@ optional StatesIterator::next() { } // namespace web_server } // namespace esphome - -#endif // USE_ARDUINO diff --git a/esphome/components/web_server/states.h b/esphome/components/web_server/states.h index 264a52e5b7..4b97570cdb 100644 --- a/esphome/components/web_server/states.h +++ b/esphome/components/web_server/states.h @@ -1,7 +1,5 @@ #pragma once -#ifdef USE_ARDUINO - #include "list_entities.h" #include "esphome/core/component.h" #include "esphome/core/component_iterator.h" @@ -28,5 +26,3 @@ class StatesIterator : public ListEntitiesIterator { } // namespace web_server } // namespace esphome - -#endif // USE_ARDUINO