IhorSyerkov / linak-desk-card

Home Assistant Lovelace Card for controlling desks based on linak bluetooth controller.
MIT License
62 stars 12 forks source link

Install the component without HACS #25

Open evidenz opened 1 year ago

evidenz commented 1 year ago

I have HA installed via a container and do not get this component installed (not HACS). Is there a way to get this installed on non-HACS? Sorry that I perhaps missed something.

callumgare commented 1 year ago

I was also wondering this. I'm using home assistant in docker so it might be different for other installation methods but here's what I did based on https://developers.home-assistant.io/docs/frontend/custom-ui/custom-card:

  1. Created a new folder in my config directory called "www". Uploaded "linak-desk-card.js" from https://github.com/IhorSyerkov/linak-desk-card/releases into that directory. Screen Shot 2023-02-27 at 21 37 55
  2. Restarted home assistant.
  3. Registered the new script following these instructions: https://developers.home-assistant.io/docs/frontend/custom-ui/registering-resources Screen Shot 2023-02-27 at 21 41 59

After that you should be able to add it to your dashboard by editing the dashboard, clicking the "Add Card" button, choosing the "Manual" card, then coping in the config in the README of this repo https://github.com/IhorSyerkov/linak-desk-card

callumgare commented 1 year ago

I've a better general guide for installing plugins without HACC: https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins

It would be great to get some of the info in the README to make it easier for new people who come across this project :)