diff --git a/components/votronic_ble/__init__.py b/components/votronic_ble/__init__.py index 17477a6..4c87422 100644 --- a/components/votronic_ble/__init__.py +++ b/components/votronic_ble/__init__.py @@ -40,4 +40,5 @@ async def to_code(config): await cg.register_component(var, config) await ble_client.register_ble_node(var, config) + cg.add_define("USE_ESP32_BLE_DEVICE") cg.add(var.set_throttle(config[CONF_THROTTLE]))