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

Custom components are deprecated #84

Open
albinmedoc opened this issue Nov 2, 2023 · 3 comments
Open

Custom components are deprecated #84

albinmedoc opened this issue Nov 2, 2023 · 3 comments

Comments

@albinmedoc
Copy link

There is a deprecation message shown on ESPHome docs for custom sensor components. See below:

Custom components are deprecated, not recommended for new configurations and will be removed from ESPHome in a future release. Please look at creating a real ESPHome component and “importing” it into your configuration with External Components. You can find some basic documentation on creating your own components at Contributing to ESPHome.

While I do try to keep the ESPHome configuration options as stable as possible and back-port them, the ESPHome API is less stable. If something in the APIs needs to be changed in order for something else to work, I will do so.

This project has to adapt to keep make sure it keeps working through updates.

@tubalainen
Copy link

Projects comes and goes.
This is a fork that is slightly more updated: https://github.com/Beaky2000/esphome-p1mini

@albinmedoc
Copy link
Author

Projects comes and goes.

This is a fork that is slightly more updated: https://github.com/Beaky2000/esphome-p1mini

What I can see, that project is also using custom component.

@juahan
Copy link

juahan commented Feb 3, 2024

At least now there is a test branch for getting rid of the custom component.

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

No branches or pull requests

3 participants