mirror of
https://github.com/esphome/esphome.git
synced 2024-11-29 02:04:13 +01:00
Fix adding another mbedtls (#1131)
This commit is contained in:
parent
465cd3d1f9
commit
e20c994b82
3 changed files with 0 additions and 6 deletions
|
@ -39,5 +39,3 @@ def to_code(config):
|
||||||
if CONF_BATTERY_LEVEL in config:
|
if CONF_BATTERY_LEVEL in config:
|
||||||
sens = yield sensor.new_sensor(config[CONF_BATTERY_LEVEL])
|
sens = yield sensor.new_sensor(config[CONF_BATTERY_LEVEL])
|
||||||
cg.add(var.set_battery_level(sens))
|
cg.add(var.set_battery_level(sens))
|
||||||
|
|
||||||
cg.add_library("mbedtls", None)
|
|
||||||
|
|
|
@ -40,5 +40,3 @@ def to_code(config):
|
||||||
if CONF_BATTERY_LEVEL in config:
|
if CONF_BATTERY_LEVEL in config:
|
||||||
sens = yield sensor.new_sensor(config[CONF_BATTERY_LEVEL])
|
sens = yield sensor.new_sensor(config[CONF_BATTERY_LEVEL])
|
||||||
cg.add(var.set_battery_level(sens))
|
cg.add(var.set_battery_level(sens))
|
||||||
|
|
||||||
cg.add_library("mbedtls", None)
|
|
||||||
|
|
|
@ -43,5 +43,3 @@ def to_code(config):
|
||||||
if CONF_LIGHT in config:
|
if CONF_LIGHT in config:
|
||||||
sens = yield binary_sensor.new_binary_sensor(config[CONF_LIGHT])
|
sens = yield binary_sensor.new_binary_sensor(config[CONF_LIGHT])
|
||||||
cg.add(var.set_light(sens))
|
cg.add(var.set_light(sens))
|
||||||
|
|
||||||
cg.add_library("mbedtls", None)
|
|
||||||
|
|
Loading…
Reference in a new issue