Skip to content

Conversation

@lufton
Copy link

@lufton lufton commented Nov 11, 2024

This PR eliminates need to include api integration in configuration. Could be useful for standalone projects where there is not need to send event to Home Assistant.
It also includes fixes for dependencies, some of them where fixed in #27.

lufton and others added 5 commits November 7, 2024 11:11
When you try to compile the project it is not including `sensor.h` file requested in `ble_client_hid.cpp`:

```
In file included from src/esphome/components/ble_client_hid/ble_client_hid.cpp:1:
src/esphome/components/ble_client_hid/ble_client_hid.h:4:10: fatal error: esphome/components/sensor/sensor.h: No such file or directory
 #include "esphome/components/sensor/sensor.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pioenvs\backpack-light\src\esphome\components\ble_client_hid\ble_client_hid.o] Error 1
```

Use [AUTO_LOAD](https://esphome.io/guides/contributing.html#extras) to specify witch components sources should be included in output directory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant