mirror of
https://github.com/esphome/esphome.git
synced 2025-01-12 07:33:19 +01:00
move component_iterator to new component
This commit is contained in:
parent
507d27e84a
commit
86b2633b95
7 changed files with 5 additions and 5 deletions
|
@ -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")
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Reference in a new issue