Provides advanced Lovelace dashboard patterns for Home Assistant, including ui-lovelace.yaml structures, card types, layouts, conditional cards, custom cards, themes, and responsive designs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/home-assistant-architect:lovelace-designThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Advanced Lovelace dashboard patterns for Home Assistant.
Advanced Lovelace dashboard patterns for Home Assistant.
ui-lovelace.yaml# ui-lovelace.yaml structure
title: Home
views:
- title: Overview
path: overview
icon: mdi:home
badges: []
cards: []
- title: Rooms
path: rooms
icon: mdi:floor-plan
panel: false
cards: []
- title: Settings
path: settings
icon: mdi:cog
subview: true
back_path: /lovelace/overview
cards: []
| Card | Use Case |
|---|---|
entities | List of entities |
glance | Quick status view |
button | Single action |
light | Light control |
thermostat | Climate control |
weather-forecast | Weather display |
picture-glance | Camera/image |
gauge | Sensor display |
grid | Card layout |
horizontal-stack | Horizontal layout |
vertical-stack | Vertical layout |
# Grid layout
type: grid
columns: 3
square: false
cards:
- type: entity
entity: sensor.temp
# Horizontal stack
type: horizontal-stack
cards:
- type: button
entity: light.living
# Vertical stack
type: vertical-stack
cards:
- type: entities
entities: []
type: conditional
conditions:
- condition: state
entity: person.owner
state: home
- condition: numeric_state
entity: sensor.temperature
above: 70
card:
type: entities
entities:
- climate.thermostat
# Mushroom card
type: custom:mushroom-entity-card
entity: light.living_room
icon_color: amber
fill_container: true
layout: horizontal
# Button card
type: custom:button-card
entity: light.living_room
name: Living Room
icon: mdi:lightbulb
color: auto
tap_action:
action: toggle
styles:
card:
- border-radius: 20px
# Mini graph card
type: custom:mini-graph-card
entities:
- sensor.temperature
hours_to_show: 24
points_per_hour: 2
show:
labels: true
# Colors
primary-color: "#03a9f4"
accent-color: "#ff9800"
primary-background-color: "#ffffff"
secondary-background-color: "#f5f5f5"
primary-text-color: "#212121"
secondary-text-color: "#727272"
# Cards
ha-card-background: "#ffffff"
ha-card-border-radius: "8px"
ha-card-box-shadow: "0 2px 4px rgba(0,0,0,0.1)"
# States
state-icon-active-color: "#ffc107"
state-icon-color: "#9e9e9e"
card_mod:
style: |
ha-card {
background: transparent;
box-shadow: none;
border: 1px solid var(--divider-color);
}
.card-header {
font-weight: bold;
color: var(--primary-color);
}
# Browser_mod popup
type: custom:state-switch
entity: browser_mod.browser_id
default: desktop
states:
mobile:
type: vertical-stack
cards: []
desktop:
type: grid
columns: 4
cards: []
views:
- title: Mobile Home
path: mobile
visible:
- user: phone_user
cards: []
- title: Desktop Home
path: desktop
visible:
- user: all
cards: []
custom:button-cardcustom:mushroom-*custom:mini-graph-cardcustom:card-modcustom:layout-cardcustom:auto-entities# Via HACS UI
1. Open HACS
2. Go to Frontend
3. Search for card name
4. Install and restart
npx claudepluginhub markus41/claude --plugin home-assistant-architectConfigures Home Assistant Lovelace dashboards, cards, views, and themes using YAML. Prevents errors in indentation, entity IDs, card properties, and view layouts. Use for editing dashboard YAML or custom cards.
Manages Home Assistant storage-backed dashboards via HA NOVA Relay: list, read, create, update, delete dashboards and Lovelace resources with safe card-level edits.
Create and manage Home Assistant YAML configuration files including automations, scripts, templates, blueprints, Lovelace dashboards, and file organization. Use when working with Home Assistant configuration files (.yaml, .yml) or discussing HA automations, scripts, sensors, or dashboards.