From b4ca89cfe624bfff31e2332242eb5f7abeaf9253 Mon Sep 17 00:00:00 2001 From: Benjamin Krause Date: Thu, 22 Feb 2024 09:26:40 +0100 Subject: [PATCH] Add information about button_card_templates to the README --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9996888..cc8c38a 100644 --- a/README.md +++ b/README.md @@ -90,13 +90,26 @@ The container should now connect to your Unraid server(s) and automatically crea ## Lovelace +Please check out the `lovelace` folder. That's where I've placed two button-card templates and the main setup for showing the server named `Kaya` just like you see in the screenshot. + This lovelace example is a bit complex and requires these modules in Home Assistant to work properly: * [button-card](https://github.com/custom-cards/button-card) * [vertical-stack-in-card](https://github.com/ofekashery/vertical-stack-in-card) * [auto-entities](https://github.com/thomasloven/lovelace-auto-entities) + * [card-mod](https://github.com/thomasloven/lovelace-card-mod) -Please check out the `lovelace` folder. That's where I've placed two button-card templates and the main setup for showing the server named `Kaya` just like you see in the screenshot. +Copy the button_card templates from `/lovelace/templates/` into `/config/lovelace/templates/button_card/`: +``` +network_share.yaml +simple_bar.yaml +unraid_disk.yaml +``` + +Ensure button-card locates the templates by adding the following line to the top of your ui-lovelace.yaml file: +``` +button_card_templates: !include_dir_merge_named lovelace/templates/button_card +``` ### Feel free to contribute, report issues, or suggest improvements! If you find this repository useful, don't forget to star it :)