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