Move components to root
This commit is contained in:
18
components/nspanel_ha_blueprint/__init__.py
Normal file
18
components/nspanel_ha_blueprint/__init__.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# __init__.py
|
||||
import esphome.codegen as cg
|
||||
import esphome.config_validation as cv
|
||||
from esphome.core import coroutine_with_priority
|
||||
|
||||
CODEOWNERS = ["@edwardtfn"]
|
||||
|
||||
nspanel_ha_blueprint_ns = cg.esphome_ns.namespace('nspanel_ha_blueprint')
|
||||
|
||||
CONFIG_SCHEMA = cv.All(
|
||||
cv.Schema({}),
|
||||
)
|
||||
|
||||
@coroutine_with_priority(1.0)
|
||||
|
||||
async def to_code(config):
|
||||
cg.add_define("USE_NSPANEL_HA_BLUEPRINT")
|
||||
cg.add_global(nspanel_ha_blueprint_ns.using)
|
||||
Reference in New Issue
Block a user