Skip to content
aspenrt78 edited this page Nov 29, 2025 · 2 revisions

FAQ

Frequently asked questions about Button Builder.

General Questions

What is Button Builder?

Button Builder is a visual editor for creating Home Assistant custom:button-card configurations. Instead of writing YAML by hand, you use a GUI to design buttons and generate the configuration automatically.

Does Button Builder require button-card?

Yes. Button Builder generates YAML for the custom:button-card Lovelace component. You need button-card installed via HACS to use the generated buttons.

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?

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?

Button Builder saves your current config in browser storage. For permanent storage:

  • Copy the YAML and save to a text file
  • Use it directly in your dashboard
  • Multiple buttons can be saved in your dashboard YAML

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.

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?

Not directly in the UI yet. You can save your designs as YAML snippets for reuse.

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, but the editor is designed for desktop use. Mobile editing works but may be cramped.

Which Home Assistant versions?

Button Builder requires Home Assistant 2023.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.

Why does the browser console show a Tailwind warning?

Button Builder uses Tailwind CSS via CDN in development mode, which triggers a console warning. This is expected and doesn't affect functionality.

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