Skip to content

🎨 Material Dashboard Card

🌟 Overview

Material Dashboard Card is a custom card for Home Assistant inspired by the design language of the Google Home app. It provides a clean, compact, and interactive dashboard with dynamic buttons for controlling cameras, lighting, Wi-Fi, and climate devices all in a swipeable layout.

☀️ Light Mode

Control Light
🌙 Dark Mode

Control Dark

✨ Features

  • Clean and modern Material-style design.
  • Swipeable layout using swipe-card for a compact multi-panel view.
  • Dynamic buttons with automatic device count (e.g., "3/5 lights on").
  • Custom navigation support for each button.
  • Conditionally hide buttons based on your preferences.
  • Dark and light mode compatible.

🧩 Requirements

  • Home Assistant ≥ 2023.5
  • HACS
  • The following custom cards installed:
🔗 Swipe Card
GitHubgithub.com
🔗 Button Card
GitHubgithub.com

🛠️ Configuration

Here are the configuration options for the material-dashboard-card:

🆓 Free Version

NameTypeDescriptionDefaultRequired
typestringcustom:material-dashboard-cardRequired✅ Yes
camerasstringNavigation path for the cameras button.✅ Yes
hide_camerasbooleanSet to true to hide the cameras button.false❌ No
lightingstringNavigation path for the lighting button.✅ Yes
hide_lightingbooleanSet to true to hide the lighting button.false❌ No
wifistringNavigation path for the Wi-Fi button.✅ Yes
hide_wifibooleanSet to true to hide the Wi-Fi button.false❌ No
climatestringNavigation path for the climate button.✅ Yes
hide_climatebooleanSet to true to hide the climate button.false❌ No

✨ Pro - Ultimate Version

NameTypeDescriptionDefaultRequired
typestringcustom:material-dashboard-cardRequired✅ Yes
camerasstringNavigation path for the cameras button.✅ Yes
hide_camerasbooleanSet to true to hide the cameras button.false❌ No
lightingstringNavigation path for the lighting button.✅ Yes
hide_lightingbooleanSet to true to hide the lighting button.false❌ No
wifistringNavigation path for the Wi-Fi button.✅ Yes
hide_wifibooleanSet to true to hide the Wi-Fi button.false❌ No
climatestringNavigation path for the climate button.✅ Yes
hide_climatebooleanSet to true to hide the climate button.false❌ No
custom_sectionsarrayArray of custom sections.false❌ No

✨ Custom Section

☀️ Light Mode

Control Light
🌙 Dark Mode

Control Dark

NOTE

You can use the [[[ ]]] Template for name, label, icon, color, background_color, path and hidden.
See Javascript Templates for more information.

NameTypeDescriptionDefaultRequired
namestringName of the custom section.✅ Yes
labelstringLabel for the custom section.✅ Yes
iconstringNavigation path for the cameras button.✅ Yes
colorstringThe text, icon color for the section❌ No
background_colorstringThe Background color for the section.❌ No
pathstringNavigation path for the custom section✅ Yes
hiddenbooleanSet to true to hide the Custom Section.false❌ No

🚀 Usage Examples

Basic Configuration

Add the card to your dashboard and define navigation paths for the buttons you want to display.

yaml
type: custom:material-dashboard-card
cameras: /lovelace/cameras
lighting: /lovelace/lighting
wifi: /lovelace/network
climate: /lovelace/climate

Hiding Buttons

There are two ways to hide buttons:

  1. Omit the navigation path: If you don't provide a path (e.g., cameras), the button does not be able to navigate.
  2. Use the hide_* flag: You can explicitly hide a button by setting its corresponding hide_* option to true. This is useful if you want to temporarily disable a button without removing its navigation path from the configuration.

Example: Hiding the Wi-Fi button

yaml
type: custom:material-dashboard-card
cameras: /lovelace/cameras
lighting: /lovelace/lighting
wifi: /lovelace/network # Path is saved for later
hide_wifi: true # But the button is hidden
climate: /lovelace/climate

Example: Showing only Lighting and Climate

In this case, we simply omit the cameras and wifi configurations.

yaml
type: custom:material-dashboard-card
lighting: /lovelace/lighting
climate: /lovelace/climate

🎨 Extended Customization

⚠️ LICENSE

Only for PRO and ULTIMATE users, get your licence now 🚀.

This card have a own version of Card-Mod. You can inject custom CSS to override any style or create unique animations.

💡 ADVANCED STYLING

👉 Check out the Styling Guide.