AmoebeLabs / swiss-army-knife-card-manual

The documentation repository for the Swiss Army Knife custom card for Home Assistant.
84 stars 2 forks source link

Installation steps for GUI based lovelace #3

Open tanker11 opened 1 year ago

tanker11 commented 1 year ago

The Problem To Be Solved: The installation is a bit complex. I get that point that the folder structure (for now) needs to be replicated, but I am not using lovelace in YAML mode, and hence I have no all the conditions mentioned in the doc.

Additional background: I managed to make it work in a way it shows up the cards (not fully functional for the first sight), but the views being in YAML mode, the system does not let me edit the cards easily, so I cannot check what I am changing in the code results in what changes in the graphical representation.

It would be good to have an installation steps and examples for GUI mode, too, as the project itself is very promising!

Minius90 commented 1 year ago

The Problem To Be Solved: The installation is a bit complex. I get that point that the folder structure (for now) needs to be replicated, but I am not using lovelace in YAML mode, and hence I have no all the conditions mentioned in the doc.

Additional background: I managed to make it work in a way it shows up the cards (not fully functional for the first sight), but the views being in YAML mode, the system does not let me edit the cards easily, so I cannot check what I am changing in the code results in what changes in the graphical representation.

It would be good to have an installation steps and examples for GUI mode, too, as the project itself is very promising!

Since you managed to make it work, I would be pleased if you'd share your solution with me. I still don't know which folders where to replicate since I am also not using lovelace in YAML mode.

tanker11 commented 1 year ago

Hi,

It is hard to remember, because I stopped dealing with it due to no response on my initiation... Anyway, I will try to describe how it works with limited way: I have installed the SAK via HACS, then I created a card with this code, for example. Not sure if other things are done, but definitely nothing changed in my lovelace.yaml as I am using it in GUI mode.

Example code:

type: custom:swiss-army-knife-card aspectratio: 1/1 entities: