fix
This commit is contained in:
parent
d9a1fba168
commit
32b886a676
|
@ -21,8 +21,7 @@ CONFIG_SCHEMA = cv.Schema(
|
||||||
async def to_code(config):
|
async def to_code(config):
|
||||||
var = cg.new_Pvariable(config[CONF_ID])
|
var = cg.new_Pvariable(config[CONF_ID])
|
||||||
await cg.register_component(var, config)
|
await cg.register_component(var, config)
|
||||||
rolling_codes = await cg.get_variable(config[CONF_ROLLING_CODES])
|
cg.add(var.set_rolling_codes(config[CONF_ROLLING_CODES]))
|
||||||
cg.add(var.set_rolling_codes(rolling_codes))
|
|
||||||
cg.add_library(
|
cg.add_library(
|
||||||
name="secplus",
|
name="secplus",
|
||||||
repository="https://github.com/bdraco/secplus",
|
repository="https://github.com/bdraco/secplus",
|
||||||
|
|
Loading…
Reference in New Issue