Lint
This commit is contained in:
@@ -12,7 +12,6 @@ CONFIG_SCHEMA = cv.All(
|
|||||||
)
|
)
|
||||||
|
|
||||||
@coroutine_with_priority(1.0)
|
@coroutine_with_priority(1.0)
|
||||||
|
|
||||||
async def to_code(config):
|
async def to_code(config):
|
||||||
cg.add_define("USE_NSPANEL_HA_BLUEPRINT")
|
cg.add_define("USE_NSPANEL_HA_BLUEPRINT")
|
||||||
cg.add_global(nspanel_ha_blueprint_ns.using)
|
cg.add_global(nspanel_ha_blueprint_ns.using)
|
||||||
|
|||||||
@@ -5,14 +5,16 @@ from esphome.core import coroutine_with_priority
|
|||||||
|
|
||||||
CODEOWNERS = ["@edwardtfn"]
|
CODEOWNERS = ["@edwardtfn"]
|
||||||
|
|
||||||
nspanel_ha_blueprint_upload_tft_ns = cg.esphome_ns.namespace('nspanel_ha_blueprint_upload_tft')
|
nspanel_ha_blueprint_upload_tft_ns = cg.esphome_ns.namespace(
|
||||||
|
'nspanel_ha_blueprint_upload_tft'
|
||||||
|
)
|
||||||
|
|
||||||
CONFIG_SCHEMA = cv.All(
|
CONFIG_SCHEMA = cv.All(
|
||||||
cv.Schema({}),
|
cv.Schema({}),
|
||||||
)
|
)
|
||||||
|
|
||||||
@coroutine_with_priority(1.0)
|
|
||||||
|
|
||||||
|
@coroutine_with_priority(1.0)
|
||||||
async def to_code(config):
|
async def to_code(config):
|
||||||
cg.add_define("USE_NSPANEL_HA_BLUEPRINT_UPLOAD_TFT")
|
cg.add_define("USE_NSPANEL_HA_BLUEPRINT_UPLOAD_TFT")
|
||||||
cg.add_global(nspanel_ha_blueprint_upload_tft_ns.using)
|
cg.add_global(nspanel_ha_blueprint_upload_tft_ns.using)
|
||||||
|
|||||||
Reference in New Issue
Block a user