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

Move from custom component to external component #26

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

SibrenVasse
Copy link

Custom components are deprecated in ESPHome and will be removed in future versions.
https://esphome.io/custom/custom_component.html

This PR rewrites this project to use an external component. The project can be used in a yaml file using a git URL in the external_components section. The remote source in the example file doesn't work at the moment, because this PR is not merged yet. This means that for testing the local source should be used.

I've been running this on my inverter, a FoxESS F3000 for some time now without issues.
Please let me know if any changes are required to get this in a mergeable state.

Fixes #21

@SibrenVasse SibrenVasse force-pushed the PR branch 5 times, most recently from 9c18ae3 to 5b8735a Compare August 12, 2024 12:40
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.

Improvement idea: structure repo to work as an external_components for ESPHome
1 participant