Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ha-bubble-dashboard

A Claude skill library for building Home Assistant dashboards with Bubble Card, Streamline Card, Sidebar Card, and Mushroom Cards — anchored to the Casa5HeyneV2 merged HA/Bubble Card/Mushroom CSS theme.

This skill teaches Claude to generate complete, production-quality Lovelace YAML, HA theme files, and colour palettes — with WCAG contrast checking, single-mode wall-panel support, Mushroom state-colour integration, and a full troubleshooting reference.


What this skill covers

Area What Claude can do
Dashboard layout sections view, pop-ups, HBS footer nav, panel view for wall panels
Bubble Card all card types, RGB lights, sub-buttons, modules, JS templates
Streamline Card templates, variable syntax, UI-mode vs YAML-mode, DRY decision
Sidebar Card desktop nav, clock/date/Jinja2 messages, fallback patterns
Mushroom Cards chip bar, template chips, full state-colour integration with HA theme
CSS themes complete Casa5HeyneV2 variant generation, accent-only or full palette swap
Colour intelligence WCAG contrast checks, harmony rules, 12 ready-made palette recipes
Typography font loading (CDN, self-hosted, system), wall-panel size overrides
Troubleshooting symptom → cause → fix tables for every common failure mode
Native HA interop native-first check vs custom builds, mixing native tile/heading cards, masonry→sections migration
Module authoring Bubble Card module editor schemas, object selector, sharing format, paid-module boundary

File structure

ha-bubble-dashboard/
├── README.md                           ← you are here
├── SKILL.md                            ← main skill file (iron laws, process, §§1–9)
├── CHANGELOG.md                        ← version history and update triggers
├── available-skills-entry.md           ← system prompt entry for disk-based usage
│
├── references/
│   ├── bubble-card-ref.md              ← all card types, CSS vars, JS API, version compat, performance
│   ├── casa5heynev2-template.yaml      ← canonical base theme (copy + diff to generate variants)
│   ├── colour-intelligence-ref.md      ← palette recipes, WCAG checks, advisory flow
│   ├── css-theme-ref.md                ← full HA/Bubble var() chain catalogue
│   ├── dashboard-system.md             ← 5-view architecture, workflow, native-first check, device profiles, masonry migration, wall-panel hardening, view scaffolds
│   ├── health-check-ref.md             ← YAML audit: parse steps, finding categories, output format
│   ├── module-authoring-ref.md         ← Bubble Card module editor: field catalog, object selector, sharing format
│   ├── mushroom-theme-ref.md           ← Mushroom ↔ HA integration, chip cards, template chip
│   ├── recipes-extended.md             ← room pop-up patterns (security, vacuum, bathroom…) + Recipes 1–6
│   ├── recipes-5view.md                ← Recipes 7–14: 5-view scaffold + per-view card YAML
│   ├── sidebar-ref.md                  ← all options, menu config, known issues
│   ├── streamline-ref.md               ← template anatomy, variable syntax, JS keys, delivery format
│   ├── test-dashboard.yaml             ← importable dashboard assembling core recipes
│   ├── troubleshooting-ref.md          ← symptom → cause → fix tables
│   └── typography-ref.md               ← font loading, recipes, wall-panel sizes, font-only update
│
└── theme/
    └── Casa5HeyneV2.yaml               ← the base theme — copy to /config/themes/

Two ways to use this skill

Option A — On disk (Claude computer-use / custom system prompt)

For setups where Claude has file system access (Claude computer-use tool, Claude Code, or custom integrations):

  1. Copy the ha-bubble-dashboard/ folder to /mnt/skills/user/ha-bubble-dashboard/
  2. Paste the contents of available-skills-entry.md into the <available_skills> block of your Claude system prompt
  3. Claude will load the skill automatically when it detects a relevant request

The available-skills-entry.md contains the trigger conditions and symptom patterns that tell Claude when to load the skill. Without it in the system prompt, Claude won't know the skill exists.

Option B — Uploaded directly to Claude (Projects)

For claude.ai Projects or any setup where you upload files as project knowledge:

  1. Upload all .md files (SKILL.md + all references/) as project knowledge documents
  2. Upload references/casa5heynev2-template.yaml as a project knowledge file
  3. The available-skills-entry.md is not needed — files uploaded to a Project are always in context

Differences when uploaded directly:

  • All reference files are always in Claude's context window simultaneously (higher token usage but no navigation needed)
  • Claude doesn't need trigger conditions — it can see the skill content directly
  • The process flow and iron laws in SKILL.md still guide Claude's behaviour
  • Recommended upload order: SKILL.md first, then reference files alphabetically

Required HA components

All via HACS:

Component Type Notes
Bubble Card Frontend Min v3.2.0
Bubble Card Tools Integration Enables module system
Streamline Card Frontend Min v0.2.2
Sidebar Card Frontend Custom repo — add manually
Mushroom Frontend Optional — enables chip cards

Sidebar Card custom repository URL: https://github.com/DBuit/sidebar-card


The base theme

theme/Casa5HeyneV2.yaml is a merged HA + Bubble Card + Mushroom theme with:

  • Full var() chain — all Bubble Card colours point to HA theme variables
  • ZONE 6 Mushroom bridge — entity-domain state colours (lights, fans, climate, etc.) wired to HA theme
  • Alexandria variable-weight font via Google Fonts CDN
  • Six palette zones with search markers for easy accent and full-palette swaps
  • Light and dark mode, both complete

To install the theme:

  1. Copy Casa5HeyneV2.yaml to /config/themes/
  2. Add to configuration.yaml:
    frontend:
      themes: !include_dir_merge_named themes
      extra_module_url:
        - /local/alexandria-font.js
  3. Create /config/www/alexandria-font.js — see references/typography-ref.md#alexandria
  4. Restart HA → Developer Tools → Actions → frontend.reload_themes
  5. Profile → Theme → Casa5HeyneV2

Colour palette system

The skill includes a full colour intelligence layer:

  • 6 accent swap recipes (A–F): Slate, Sage, Terracotta, Dusk, Steel, Original — each 8 lines per mode
  • 6 full palette recipes (1–6): complete light + dark variants changing backgrounds, surfaces, and accent
  • WCAG pre-flight: all accent ratios pre-calculated against the Casa5 light and dark card surfaces
  • Advisory mode: Claude presents options with rationale, user picks
  • Prescriptive mode: Claude maps a mood description to the closest recipe and generates
  • Bring your own hex: template for any custom colour with hex→RGB conversion steps

The 5-view dashboard system

The skill includes a complete dashboard information architecture built on principled UX foundations. Every new full dashboard Claude generates follows this structure:

View Purpose Engagement type
Overview What is happening right now Complications — passive
Rooms What I want to control Brief interaction
Scenes How I want the home to feel Brief interaction
Activity What has happened Passive review
Settings How the home is configured Deep engagement

Two optional extension views — Energy and Music — are added when the user's home has those domains actively in use.

The Activity view uses a unique hide/show graph mechanism: each of eight event categories (Presence, Doors & Windows, Motion, Automation, Energy, Maintenance, Devices, Infrastructure) shows a curated event card. Tapping the card reveals a pattern graph inline — no pop-ups, no navigation, no extra clutter.

Before generating any full dashboard, Claude now runs a classification workflow: every entity is sorted into Bucket 0 (automate, don't build), Bucket 1 (complications), Bucket 2 (brief interaction), or Bucket 3 (deep engagement). The classification is shown to the user for confirmation before any YAML is generated.

See references/dashboard-system.md for the complete architecture and references/recipes-5view.md for Recipes 7–14 copy-paste YAML.

Version

Current: v1.4 (2026-07-03)
Component pins: Bubble Card 3.2.4 · Bubble Card Tools 1.0.2 · Streamline Card 0.2.2 · Sidebar Card 0.1.9.9 · HA minimum 2024.3.0 · guidance verified against HA 2026.7

See CHANGELOG.md for full version history and update triggers.


License

MIT — free to use, modify, and distribute. Attribution appreciated.

About

Claude skill library for building Home Assistant dashboards with Bubble Card, Streamline Card, Sidebar Card and Mushroom — including a merged HA/Bubble/Mushroom CSS theme, colour intelligence with WCAG checks, and full troubleshooting reference.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors