hacs / integration

HACS gives you a powerful UI to handle downloads of all your custom needs.
https://hacs.xyz
MIT License
5.38k stars 1.28k forks source link

Request to add ESPHome custom_components as a category #1458

Closed jesserockz closed 3 years ago

jesserockz commented 4 years ago

Category

Checklist

The idea

It would be good if users could easily install and share their custom_components for ESPHome. Currently there is no central location for custom_components and github links are scattered around the place.

Implementation

How do you see this being implemented? I think this would be very similar to HA integrations but with a different repo list and folder that they are saved in.

Alternatives

Are there any alternative solutions or features you've considered? This could be a feature built into the ESPHome dashboard, but the focus there is on the actual development of ESPHome and I believe that this fits with the use case of HACS.

Additional context

Considering if people are mostly using ESPHome as an addon to HA, then the ESPHome config folder is located inside the HA config folder and the custom_components for esphome would be placed in esphome/custom_components

hacs-bot[bot] commented 4 years ago

Make sure you have read the issue guidelines and that you filled out the entire template.

ludeeus commented 4 years ago

What is this? Do you have links to documentation for it? Are there any github repos that offer custom_components for ESP home now?

jesserockz commented 4 years ago

ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.

Custom_components in ESPHome have been made to mirror the way they work in HA. It is mentioned here a little further down the page.

I will post an example when I find one, but like I mentioned above they only pop up (in discord) when someone asks about a specific component that is not integrated yet but someone else has built it for themselves.

jesserockz commented 4 years ago

Here is a repo by @ssieb with a bunch of custom components.

ludeeus commented 4 years ago

Yeah, but that would not fit in a HACS model. HACS requires one "Thing" pr. repo.

jesserockz commented 4 years ago

Also there is a list on the esphome documentation website here

jesserockz commented 4 years ago

Yeah, but that would not fit in a HACS model. HACS requires one "Thing" pr. repo.

I realise that and i believe given the opportunity, people would be happy to format their repos to make them compatible.

ludeeus commented 4 years ago

maybe, the same argument has been given for all added categories (and those still pending) :man_shrugging: If you look at https://hacs.xyz/docs/default_repositories#netdaemon-apps or https://hacs.xyz/docs/default_repositories#python-scripts there are not much

jesserockz commented 4 years ago

hmm, yeah. 🤷‍♂️ Was just an idea I had. I don't know how much work it would be for you (or others) to actually implement and maintain.

ludeeus commented 4 years ago

By now I have probably used somewhere between 50-100h for each of the categories in maintenance, things are simpler now than when the last one was added, but it's still much work. Implementation is "easy"

jesserockz commented 4 years ago

A couple of examples:

Most likely there would be supporting files for HACS

ludeeus commented 3 years ago

PSA: https://github.com/hacs/integration/issues/1905