I also hope that the owner will come back or that someone will take over the project. I spent a lot of time to create my dashboard with this type of card.
well lets cross finger, because it looks very very nice and I want to play around a bit and try to make out of it something, but when its stable.
What version are you running?
latest version
Some cards shown here, only work with beta version v2.5.1-dev.2. Unfortunately, this version was never officially distributed.
Please try the 2.4.6 or 2.5.1 dev. 1
If the I.set issue is still there⊠Maybe you should give up.
It is a pitty, i likr this carda a lot.
Dont know if someone is taking care of the project or someone would adopt it.
Anyway, ill try those versions
Bonjour, je reviens sur la discussion car je me retrouve au mĂȘme point⊠pour lâinstallation de Swiss Army Knife
1 - Jâai installĂ© via HACS Swiss Army Knife
2 - fichier : configuration.yaml :
lovelace:
resources:
- url: /homeassistant/www/community/frigate-hass-card.js
- url: /homeassistant/www/community/swiss-army-knife-card/resources.yaml
type: module
3 - Jâai copiĂ© le fichier : sak_templates sous
/homeassistant/ mĂȘme sâil se trouvait dĂ©jĂ dans le dossier crĂ©e lors de lâinstallation sous www/community/Swiss Army Knife car je nâai pas de dossier lovelace fallait-il en crĂ©er un ?
4 - Jâai crĂ©e le fichier : ressources.yaml sous
/homeassistant/www/community/swiss-army-knife-card/resources.yaml
- url: /hacsfiles/swiss-army-knife-card/swiss-army-knife-card.js
type: module
5 - et lĂ , le drame⊠je nâai pas : user-svg-definitions.yaml
6 - et je nâai pas le fichier : ui-lovelace.yaml. mais ui_lovelace_minimalist Ă la racineâŠ
En cherchant je lâai trouvĂ© sous : /homeassistant/ui_lovelace_minimalist/dashboard/ui-lovelace.yaml du coup, jâai rajoutĂ© :
# Swiss Army Knife Templates
#
# The system templates come with the HACS install and can be updated
# with a new release. That part is automatic!
sak_sys_templates:
!include www/community/swiss-army-knife-card/sak_templates.yaml
# The user templates are created by the user, and won't be updated
# with a new release. If changes are required, then the user has to
# upate the template configuration files.
sak_user_templates:
!include lovelace/sak_templates/sak_templates.yaml
7 - jâai rajoutĂ© dans le fichier configuration.yaml
http:
cors_allowed_origins:
- https://unpkg.com
- https://unpkg.com/lit-html@1/directives/style-map.js?module
- https://unpkg.com/lit-html@1/directives/if-defined?module
- https://unpkg.com/lit-html@%5E1.0.0?module
- https://unpkg.com/lit-html@1/directives/style-map.js?module
mĂȘme si jâai rien compris Ă :
Ătape 2c : Ajouter quelques fichiers Ă configuration.yaml
Tant que cette carte nâest pas un bundle, vous devez ajouter manuellement quelques rĂ©fĂ©rences dans la **cors_allowed_origins**
définition du configuration.yaml
Jâai pas trouvĂ© ce âcors_allowed_originsâ
Si quelquâun avait la gentillesse de mâaider⊠? ça pourrait peut etre aussi en aider dâautresâŠ
Merci et dĂ©solĂ©e pour la longueurâŠ
TrÚs bonne journée !
In English
Hello, I am coming back to the discussion because I find myself at the same point⊠for the installation of Swiss Army Knife
1 - I installed via HACS Swiss Army Knife
2 - file: configuration.yaml:
lovelace:
resources:
- url: /homeassistant/www/community/frigate-hass-card.js
- url: /homeassistant/www/community/swiss-army-knife-card/resources.yaml
type: module
3 - I copied the file: sak_templates under
/homeassistant/ even if it was already in the folder created during installation under www/community/Swiss Army Knife because I donât have a lovelace folder, did I have to create one?
4 - I created the file: resources.yaml under
/homeassistant/www/community/swiss-army-knife-card/resources.yaml
- url: /hacsfiles/swiss-army-knife-card/swiss-army-knife-card.js
type: module
5 - and here, the drama⊠I donât have: user-svg-definitions.yaml
6 - and I donât have the file: ui-lovelace.yaml. but ui_lovelace_minimalist at the rootâŠ
While searching I found it under: /home assistant/ui lovelace minimalist/dashboard/ui-lovelace.yaml so I added:
# Swiss Army Knife Templates
#
# The system templates come with the HACS install and can be updated
# with a new release. That part is automatic!
sak_sys_templates:
!include www/community/swiss-army-knife-card/sak_templates.yaml
# The user templates are created by the user, and won't be updated
# with a new release. If changes are required, then the user has to
# upate the template configuration files.
sak_user_templates:
!include lovelace/sak_templates/sak_templates.yaml
7 - I added in the configuration.yaml file
http:
cors_allowed_origins:
- https://unpkg.com
- https://unpkg.com/lit-html@1/directives/style-map.js?module
- https://unpkg.com/lit-html@1/directives/if-defined?module
- https://unpkg.com/lit-html@%5E1.0.0?module
- https://unpkg.com/lit-html@1/directives/style-map.js?module
even if I didnât understand anything about :
Step 2c: Add some files to configuration.yaml As long as this card is not a bundle, you have to manually add some references in the cors_allowed_origins definition of the configuration.yaml
I didnât find this âcors_allowed_originsâ
If someone would be kind enough to help meâŠ? it could perhaps help others tooâŠ
Thanks and sorry for the lengthâŠ
Have a great day!