diff --git a/docs/lovelace_custom_card.md b/docs/lovelace_custom_card.md index 40b372b9..d8c92f25 100644 --- a/docs/lovelace_custom_card.md +++ b/docs/lovelace_custom_card.md @@ -36,6 +36,12 @@ class ContentCardExample extends HTMLElement { `; } + + // The height of your card. Home Assistant uses this to automatically + // distribute all cards over the available columns. + getCardSize() { + return 3; + } } customElements.define('content-card-example', ContentCardExample);