mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 16:38:16 +01:00
[esp32_improv] Update Improv library to reference new repo/version (#7195)
This commit is contained in:
parent
d18bb34f87
commit
e02319dcff
1 changed files with 2 additions and 3 deletions
|
@ -1,9 +1,8 @@
|
||||||
import esphome.codegen as cg
|
import esphome.codegen as cg
|
||||||
|
from esphome.components import binary_sensor, esp32_ble_server, output
|
||||||
import esphome.config_validation as cv
|
import esphome.config_validation as cv
|
||||||
from esphome.components import binary_sensor, output, esp32_ble_server
|
|
||||||
from esphome.const import CONF_ID
|
from esphome.const import CONF_ID
|
||||||
|
|
||||||
|
|
||||||
AUTO_LOAD = ["esp32_ble_server"]
|
AUTO_LOAD = ["esp32_ble_server"]
|
||||||
CODEOWNERS = ["@jesserockz"]
|
CODEOWNERS = ["@jesserockz"]
|
||||||
DEPENDENCIES = ["wifi", "esp32"]
|
DEPENDENCIES = ["wifi", "esp32"]
|
||||||
|
@ -50,7 +49,7 @@ async def to_code(config):
|
||||||
cg.add(ble_server.register_service_component(var))
|
cg.add(ble_server.register_service_component(var))
|
||||||
|
|
||||||
cg.add_define("USE_IMPROV")
|
cg.add_define("USE_IMPROV")
|
||||||
cg.add_library("esphome/Improv", "1.2.3")
|
cg.add_library("improv/Improv", "1.2.4")
|
||||||
|
|
||||||
cg.add(var.set_identify_duration(config[CONF_IDENTIFY_DURATION]))
|
cg.add(var.set_identify_duration(config[CONF_IDENTIFY_DURATION]))
|
||||||
cg.add(var.set_authorized_duration(config[CONF_AUTHORIZED_DURATION]))
|
cg.add(var.set_authorized_duration(config[CONF_AUTHORIZED_DURATION]))
|
||||||
|
|
Loading…
Reference in a new issue