move component_iterator to new component

This commit is contained in:
Tomasz Duda 2024-09-30 22:48:32 +02:00
parent 507d27e84a
commit 86b2633b95
7 changed files with 5 additions and 5 deletions

View file

@ -26,7 +26,7 @@ from esphome.const import (
from esphome.core import coroutine_with_priority
DEPENDENCIES = ["network"]
AUTO_LOAD = ["socket"]
AUTO_LOAD = ["socket", "component_iterator"]
CODEOWNERS = ["@OttoWinter"]
api_ns = cg.esphome_ns.namespace("api")

View file

@ -1,7 +1,7 @@
#pragma once
#include "esphome/core/component.h"
#include "esphome/core/component_iterator.h"
#include "esphome/components/component_iterator/component_iterator.h"
#include "esphome/core/defines.h"
namespace esphome {

View file

@ -1,7 +1,7 @@
#pragma once
#include "esphome/core/component.h"
#include "esphome/core/component_iterator.h"
#include "esphome/components/component_iterator/component_iterator.h"
#include "esphome/core/controller.h"
#include "esphome/core/defines.h"

View file

@ -32,7 +32,7 @@ from esphome.const import (
from esphome.core import CORE, coroutine_with_priority
import esphome.final_validate as fv
AUTO_LOAD = ["json", "web_server_base"]
AUTO_LOAD = ["json", "web_server_base", "component_iterator"]
web_server_ns = cg.esphome_ns.namespace("web_server")
WebServer = web_server_ns.class_("WebServer", cg.Component, cg.Controller)

View file

@ -3,7 +3,7 @@
#include "esphome/core/defines.h"
#ifdef USE_WEBSERVER
#include "esphome/core/component.h"
#include "esphome/core/component_iterator.h"
#include "esphome/components/component_iterator/component_iterator.h"
namespace esphome {
namespace web_server {