f374067928fb29432d6c5d30f3cfcd361c30fbbd
Boilerplate Card
A community driven boilerplate of best practices from Home Assistant Lovelace custom cards
Options
| Name | Type | Requirement | Description |
|---|---|---|---|
| type | string | Required | custom:boilerplate-card |
| name | string | Optional | Card name |
| show_error | boolean | Optional | Show what an error looks like for the card |
| show_warning | boolean | Optional | Show what a warning looks like for the card |
Starting a new card from boilerplate-card
Step 1
Clone this repo
Step 2
Install necessary modules
yarn install or npm install
Step 3
Do a test lint & build on the project. You can see available scripts in the package.json
npm run build
Step 4
Customize to suit your needs and contribute it back to the custom-cards org
Languages
TypeScript
97.1%
SCSS
2.2%
JavaScript
0.6%