Skip to content
Chris edited this page Jun 11, 2026 · 4 revisions

FAQ

Frequently asked questions about Button Builder.

General Questions

What is Button Builder?

Button Builder is a visual editor for creating Home Assistant dashboard card configurations. It includes three builders — for custom:button-card, custom:bubble-card, and HA's built-in Tile card — each available as its own sidebar panel. Instead of writing YAML by hand, you use a GUI to design cards and generate the configuration automatically.

Does Button Builder require button-card?

The Button Card Builder generates YAML for custom:button-card, so you need button-card installed via HACS to use its output. Likewise, the Bubble Card Builder requires Bubble Card. The Tile Card Builder needs nothing extra — the Tile card is built into Home Assistant. You only need the card(s) whose builder you actually use.

Is Button Builder free?

Yes, Button Builder is free and open source under the MIT license.

Does Button Builder work offline?

Mostly yes. The main editor works without internet. The Magic Builder (AI) feature requires internet to connect to Google's AI API.


Installation Questions

How do I install Button Builder?

The easiest way is through HACS:

  1. Open HACS Integrations
  2. Search "Button Builder"
  3. Download and restart HA

See Installation for detailed instructions.

Do I need HACS?

No, you can install manually by copying files to custom_components/button_builder/. However, HACS makes updates much easier.

Why doesn't Button Builder appear in my sidebar?

You should see three entries: Button Card Builder, Bubble Card Builder, and Tile Card Builder.

After installation, you must restart Home Assistant. If it still doesn't appear, check:

  • HA logs for errors
  • Installation path is correct
  • Browser cache is cleared

See Troubleshooting for more solutions.


Usage Questions

How do I get started?

  1. Open Button Builder from the sidebar
  2. Select an entity (optional)
  3. Apply a preset style
  4. Customize as needed
  5. Copy the YAML
  6. Paste into your dashboard

See Getting Started for a complete tutorial.

How do I add a button to my dashboard?

  1. Edit your dashboard
  2. Add a "Manual" card (or "Custom: Button Card")
  3. Paste the YAML from Button Builder
  4. Save

Can I edit existing buttons?

Yes! Click "Import" in Button Builder and paste your existing button-card YAML. It will load into the editor for modification.

Why doesn't my button look the same in the dashboard?

Several reasons:

  • Your dashboard theme affects colors
  • Grid sizing differs from preview
  • Entity attributes differ from preview simulation

See Troubleshooting#Preview Not Matching Dashboard.

How do I save my button designs?

Use the built-in Library: click Save, give your design a name (plus optional folder and tags), and it's stored in your browser. You can search, load, duplicate, and delete saved designs, and Export All downloads your whole library as a YAML backup. See Saving and Library.

Note that the library lives in browser storage — it doesn't sync between devices, so export backups for anything important.


Features Questions

What's the Magic Builder?

Magic Builder is an AI-powered feature that generates button configurations from natural language descriptions. Describe what you want, and it creates the configuration.

Do I need an API key for Magic Builder?

Yes, Magic Builder uses Google's Gemini AI. You need a free API key from Google AI Studio. The key is kept in session storage only — it's cleared when you close the tab and is never sent anywhere except to Google's API.

What are presets?

Presets are pre-designed button styles. Apply a preset to instantly style your button, then customize further.

Can I create my own presets?

Yes! In the Button Card Builder, save any design as a custom preset — it appears in the preset panel under the Custom category. You can also save full designs to the Saving and Library.

What is "Color Type"?

Color Type determines what gets colored by state:

  • icon - Only the icon changes color
  • card - The entire card background changes
  • label-card - Card and label change
  • blank-card - Card only, icon stays white

What are templates?

Templates are JavaScript code that dynamically change button properties based on entity state. For example, changing the icon based on temperature value.


Compatibility Questions

Which browsers work?

  • Chrome/Chromium (recommended)
  • Firefox
  • Safari (some limitations)
  • Edge
  • HA Companion App

Does it work on mobile?

Yes. Both builders have a dedicated mobile layout with bottom-tab navigation (Preview / Configure / YAML), so editing on a phone is fully supported.

Which Home Assistant versions?

Button Builder requires Home Assistant 2024.1 or newer.

Does it work with Home Assistant Cloud?

Yes, Button Builder works with both local and cloud HA installations.


Technical Questions

Where is my configuration stored?

Your current button configuration is stored in your browser's localStorage. It's not synced across devices or browsers.

Can I use Button Builder on multiple devices?

Yes, but each device/browser has its own separate configuration. Copy YAML to transfer between devices.

Does Button Builder modify my HA configuration?

No. Button Builder only generates YAML that you manually copy to your dashboard. It doesn't modify any Home Assistant files directly.

Can I contribute to Button Builder?

Yes! Contributions are welcome on GitHub:

  • Bug reports and feature requests via Issues
  • Code contributions via Pull Requests
  • Documentation improvements

Troubleshooting Questions

Why are colors not working?

Most likely, state colors are overriding your background color. Clear the "State ON Color" and "State OFF Color" fields, or set Color Type to "blank-card".

Why is the entity list empty?

  • Ensure you're logged into Home Assistant
  • Wait for entities to load (can take a few seconds)
  • Try refreshing the page
  • Check browser console for errors

Why doesn't copy work?

Some browsers restrict clipboard access. Try:

  • Manually select and copy the YAML text
  • Use a different browser
  • Ensure HTTPS (clipboard requires secure context)

How do I report a bug?

Open an issue on GitHub with:

  • Steps to reproduce
  • Expected vs actual behavior
  • Browser and HA version
  • Screenshots if visual issue

Feature Requests

Will you add [feature X]?

Check GitHub Issues to see if it's already requested. If not, open a new feature request issue with your idea.

Can you add more presets?

Yes! Preset suggestions are welcome. Open an issue with:

  • Description of the style
  • Example YAML if you have it
  • Reference images

Can I request AI improvements?

Magic Builder improvements depend on the AI model capabilities. Suggestions for better prompting or schema improvements are welcome.


Next Steps

Clone this wiki locally