Installing third party integration to Docker HA from GitHub

I’m running a vanilla HA via Docker with a simple configuration to control a few TRVs - I"m new to HA and haven’t used it extensively although I do have some years’ experience with a Linux/Docker environment.

I’m interested in adding a custom integration from GitHub but can’t find any detailed instructions - indeed I’m not even sure if it’s possible. I can’t find any likely looking directories to add the integration code to and I’m guessing that linking via a docker volume isn’t the way to go.

I came across this thread suggesting HACS is the solution, but this is a couple of years old and things seem to move pretty fast in HA so I"m not sure if this is current.

Can anyone confirm if I’m heading in the right direction please?

How did you come up with the “couple of years old” statement? HACS most recent version is from January 2024.

image

HACS is the “official/unofficial” way to go. Home Assistant Community Store | HACS

Sorry, I meant that the linked thread was a couple of years old - I realise that HACS is a current product.

Regards,

Chris

1 Like

Find the directory where configuration.yaml is (should be in your docker compose file, or docker run command)
Create a directory custom_components
Place all files downloaded from GitHub - v1ack/lelight: LeLight integration for Home Assistant in that directory, but make sure the are in a separate directory
Reboot HA, and follow the directions in that github to set up the integration

And yes, HACS makes everything more easy.

1 Like

Thanks @francisp - managed to get it installed. From what I saw in the logs it actually seemed to pick it up before the restart but I did it regardless. Sadly it doesn’t seem to support the light I’m trying to use, but at least I’ve learnt a bit more today.

Regards,

Chris