-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add Home Assistant custom component to HACS #28
Comments
This sounds like a good idea. Also at first glance the requirements seem achievable with reasonable effort. I'll try to look into this over the weekend. Do you already have experience with providing components via HACS? |
@gluap I don't but I would be willing to help if there's a repository to work with. |
@DomiStyle status update: I started working on it in a separate repository (I agree this makes more sense) and think the best will be to move the custom component there completely once it works (while leaving a readme in this repo for people to find that installed the old way and maybe another readme in the new repo for those who don't want to switch to hacs). Currently it's just a stub but you can find it here https://github.com/gluap/pyduofern-hacs . So far I only did the first few steps in the tutorial and haven't really set up anything yet so I wouldn't expect it to work. But after promising to work on it over the weekend I thought I should post an update. |
I added the repository to my Home Assistant instance and it looks like this in HACS: I didn't try to install it yet since i need to disable the original custom component first but looks good so far. This is the repository for HACS itself so it can probably be used as reference for the readme and info file: |
I ran a first test using it as a custom component and it works (installs latest version of pyduofern and the module "just works" with the existing config). I'll implement some more suggestions from their readme and at some point send a pull request to add it to hacs. |
Took me quite some time but with the release of Home Assistant 2020.12 I finally found some time to switch over to the HACS version. So far no issues, everything works perfectly and should be a lot easier to maintain. |
Hello, thanks for your work! I wanted to test it too:
RaKa |
hi @rakaandro, it's not yet at the stage where it's available from |
What´s the current status on this? Sounds like the easiest way to use your great work in Home Assistant especially when using HASS OS. |
@bcutter Works perfectly from HACS, just follow the steps a post above and it will be installed automatically. |
Hi @bcutter, what kind of device are you trying to pair? When going through your entities, does searching for "duofern" list the entity you paired? I see that other integrations do somehow manage to show their integrated devices and entities on that pane. My guess is that the whole pairing mechanism used by the duofern integration somehow works around what was meant for pairing from the homeassistant side. Back when I wrote it there just was no framework available for pairing-like actions (or maybe it was too hard to find). This is also why pyduofern is using the "call a service" as a workaround to trigger pairing. I'll file this as a new bug, but as it is hacs-only It'll be in the issue tracker of pyduofern-hacs |
Everything is working meanwhile in terms of pairing. Besides very few situations where commands have not been executed by the RolloTron device and few log warnings and fewer errors everything is fine. Thanks for filing the idea as separate issue. |
It would be nice to have the custom component available in HACS so updating is easier.
The requirements are listed here: https://hacs.xyz/docs/publish/start
While it's possible to get a sub directory added as repository it probably would make more sense to copy the current HA component to a new repository?
The text was updated successfully, but these errors were encountered: