psvanstrom / esphome-p1reader

ESPHome custom component for reading P1 data from electricity meters.
MIT License
266 stars 116 forks source link

Custom components are deprecated #84

Open albinmedoc opened 11 months ago

albinmedoc commented 11 months ago

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 commented 11 months ago

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

albinmedoc commented 11 months ago

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 commented 8 months ago

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