d4nicoder / hass-sidecar

Homeassistant sidecar app to allow you to write home automations in typescript in a simple way
MIT License
21 stars 2 forks source link

Is there any way to install this from HACS? #17

Open dbuezas opened 2 years ago

dbuezas commented 2 years ago

I really love the idea of making my automations in Typescript, but every time I land here (which is every time I get frustrated with yaml), I think to myself "oh, what a pitty I can't install it without opening yet another can of worms". Is there a way? :)

update: this is obviously not a bug, but I can't change the label

d4nicoder commented 2 years ago

Hello @dbuezas. It is a very good suggestion. I'll try to investigate how can I publish on HACS repository. Thank you for the suggestion.

dbuezas commented 2 years ago

I recently added my own plotly lovelace card to HACS and a lot more people started using it.

Mine is a front end module and not an integration but I think the general process is the same.

What follows may be obvious, but it took me a while to find the right starting point, so it may still be useful to you

Part 1: paste url in HACS

The first step is super easy and allows users to get your integration by pasting the url of your repo as a "custom repo", getting updates, etc. Already a huge win imo

Part 2: add to HACS "database"

Then, if you want to be listed, you need to make a pr to https://github.com/hacs/default. It took a while for them to merge it, but eventually it made it through, and then I started getting a lot more feedback from users.