mirror of
https://github.com/esphome/esphome.git
synced 2025-09-04 04:12:23 +01:00
fix
This commit is contained in:
@@ -286,6 +286,7 @@ async def remove_bond_to_code(config, action_id, template_arg, args):
|
||||
async def to_code(config):
|
||||
# Register the loggers this component needs
|
||||
esp32_ble.register_bt_logger(BTLoggers.GATT, BTLoggers.SMP)
|
||||
cg.add_define("USE_ESP32_BLE_UUID")
|
||||
|
||||
var = cg.new_Pvariable(config[CONF_ID])
|
||||
await cg.register_component(var, config)
|
||||
|
Reference in New Issue
Block a user