mirror of
https://github.com/esphome/esphome.git
synced 2025-11-18 07:45:56 +00:00
Disable dependency finder on ESP32 (#2435)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import esphome.codegen as cg
|
||||
import esphome.config_validation as cv
|
||||
from esphome.components import sensor, ble_client
|
||||
from esphome.core import CORE
|
||||
|
||||
from esphome.const import (
|
||||
DEVICE_CLASS_CARBON_DIOXIDE,
|
||||
@@ -116,3 +117,6 @@ async def to_code(config):
|
||||
if CONF_TVOC in config:
|
||||
sens = await sensor.new_sensor(config[CONF_TVOC])
|
||||
cg.add(var.set_tvoc(sens))
|
||||
|
||||
if CORE.is_esp32:
|
||||
cg.add_library("ESP32 BLE Arduino", None)
|
||||
|
||||
Reference in New Issue
Block a user