Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optional api integration #29

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

optional api integration #29

wants to merge 5 commits into from

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