Manual Installation
- Download the button-card
Note that this is a direct link to the .js file. Most browsers won’t load this if you just click on it. You need to right-click and do a “save as”. Then follow the rest of these directions. - Place the file in your
config/wwwfolder - Include the card code in your
ui-lovelace-card.yaml
title: Home resources: - url: /local/button-card.js type: module
- Write configuration for the card in your
ui-lovelace.yaml
Installation and tracking with hacs
- Make sure the HACS component is installed and working.
- Search for
button-cardand add it through HACS - Add the configuration to your
ui-lovelace.yaml
resources: - url: /hacsfiles/button-card/button-card.js type: module
- Refresh home-assistant.
I used the HACS method to install.