8 lines
489 B
Python
8 lines
489 B
Python
import esphome.codegen as cg import esphome.config_validation as cv from esphome.core import coroutine_with_priority
|
|
|
|
ratgdo_ns = cg.esphome_ns.namespace("ratgdo")
|
|
|
|
CONFIG_SCHEMA = cv.All(cv.Schema({}), )
|
|
|
|
@coroutine_with_priority(1.0) async def to_code(config) :cg.add_library("bblanchon/ArduinoJson", "6.18.5") cg.add_define("USE_JSON") cg.add_global(ratgdo_ns.using)
|