Skip to content

Repository files navigation

Transformers Allspark UI

HACS Release Release date Downloads License Last commit Stars

Open in HACS

icon

Transformers Allspark UI is a HACS-ready Home Assistant custom integration that bundles:

  • 11 G1-themed custom cards
  • 2 Fonts (G1 & Movie)
  • 9 Theme styles (including the TELETRAAN-I backdrop theme)
  • A bundled full-page Transformers backdrop image

It is designed as unified integration package, so that you can simply install one thing and get cards, themes, and fonts working together.

I previously had a separate custom components for the theme and the cards to do this job, and they still required some manual work for the fonts.

This supercedes both of them.

Features

  • Visual editor for every card — configure each card from a form, exposing its full set of options (no YAML required)
  • Appearance controls on every card — hide the card title, and set width, height, font size and icon size
  • Light card with Mushroom-style controls — tap to reveal brightness, colour‑temperature and RGB colour, shown based on what the light supports
  • Full-page backdrop — a bundled Transformers backdrop image and a TELETRAAN-I theme that paints it (with a red frame) across the whole view
  • Global font setting and individual card override
  • Supports native cards
  • Allows entity icons to be used
  • Reflects entity state

Requirements

frontend: themes: !include_dir_merge_named themes

Installation (HACS)

  1. Add this repository as a custom repository in HACS (category: Integration) if needed.
  2. Install Transformers Allspark UI from HACS.
  3. Restart Home Assistant.
  4. Go to Settings → Devices & Services → Add Integration.
  5. Add Transformers Allspark UI and complete the config flow.
  6. Restart Home Assistant again.

Font behavior

Supported font styles on the included cards:

  • theme (default): follows active theme/global integration default
  • g1 forces Transformers G1
  • movie forces Transformers Movie

The bundled stylesheet provides shared font-family names so fonts can also be referenced by native cards or other custom cards.

Card options

Every card has a visual editor (Add/Edit card → the form) that exposes its full set of options — no YAML required. On top of each card's own options, all cards share these appearance controls:

  • Fonttheme / g1 / movie
  • Hide card title — drop the card header
  • Width / Height / Font size / Icon size — size the card and its text/icons (a bare number is treated as pixels; width also accepts CSS values such as 100%)

The light card additionally has an expandable Controls section with brightness, colour‑temperature and RGB colour sliders, shown according to the light's supported_color_modes.

Themes included

  • Transformers Dark (G1)
  • Transformers Dark (Movie)
  • Transformers Light (G1)
  • Transformers Light (Movie)
  • Transformers Silver (G1)
  • Transformers Silver (Movie)
  • Transformers Dirty Metal (G1)
  • Transformers Dirty Metal (Movie)
  • Transformers (G1 - TELETRAAN-I) — G1 styling that paints the bundled backdrop image across the whole view, framed in red (see Full-page backdrop)

Theme Examples

Dark theme (movie font), but showing a card using the G1 font override

image

Silver theme (G1 font), but showing a card using the movie font override

image

More theme examples can be found in on the theme examples page.

Themes and card-mod

card-mod is no longer required. From 0.5.0 the themes drive Home Assistant's own design tokens (ha-font-family-body, ha-font-family-heading, ha-font-family-longform, ha-card-header-font-family, ha-card-border-width, ha-card-box-shadow, lovelace-background), so the Transformers fonts and card styling reach every standard HA card with nothing else installed.

Tokens alone get you card headers and card chrome. Body text needs one extra nudge, because Home Assistant sets body { font-family: Roboto, Noto, sans-serif } in index.html and every element inside a dashboard just inherits it — nothing in the card tree reads --ha-font-family-body. So the integration also ships transformers-theme-shim.js, registered automatically as a dashboard resource. It adopts exactly one rule into the dashboard's shadow root:

hui-view-container { font-family: var(--ha-font-family-body); }

Home Assistant already applies theme variables to hui-view-container, so a themed view picks up its font and everything below inherits it. A view with no Transformers theme resolves that variable to Home Assistant's own default, so the rule changes nothing there — the scoping is free. Unlike card-mod, the shim touches no Home Assistant panel, route or internal module, so it cannot break the way card-mod did.

This matters because card-mod is broken on HA 2026.8: HA renamed the Developer Tools panel from developer-tools to tools, and card-mod borrows that panel's YAML parser to read theme YAML. It can no longer find it, so it silently stops applying theme styles (card-mod#606). If your Transformers fonts disappeared after updating to 2026.8, that is why — update to 0.5.0.

The card-mod-* blocks are still in the theme file for anyone on HA older than 2026.8, where card-mod works and adds four purely decorative extras that tokens cannot express:

  • uppercase card headers (text-transform)
  • header letter-spacing and glow (letter-spacing, text-shadow)
  • the card background gradient
  • the TELETRAAN-I inset red view frame

Running both paths together is safe — they describe the same design. If you are on 2026.8 or newer you can uninstall card-mod entirely; you lose only those four flourishes.

Scoping the font to one view

Assign the theme to a single view and the font stays in that view only:

views:
  - title: Cybertron
    theme: Transformers Dark (G1)
    cards: ...

Home Assistant applies theme variables to the view's container element, and CSS custom properties inherit into every card — including their shadow DOM. Set the theme in your user profile instead and the whole UI is skinned.

ha-font-family-longform styles long-form text such as markdown cards. If that reads poorly at body size, remove that one key from the theme and headings will still be Transformers.

Included cards

All cards are G1 styled, regardless of theme choice. You can override the font for each card to use the movie or theme font, but the overall appearance of the cards is G1.

  • transformers-status-card
  • transformers-sensor-card
  • transformers-button-card
  • transformers-text-card
  • transformers-gauge-card
  • transformers-clock-card
  • transformers-glance-card
  • transformers-light-card
  • transformers-picture-card
  • transformers-weather-card
  • transformers-alarm-card

All cards are registered for the card picker and support preview tiles in the Community cards list. The light, picture and weather cards also appear as entity suggestions when you add a card for a matching entity.

Full-page backdrop

To get a full-page Transformers backdrop, set a view's theme to Transformers (G1 - TELETRAAN-I) — the bundled backdrop image is then painted across the whole view, framed in red, with your cards on top. No extra setup.

The backdrop image is also installed standalone for your own use:

  • In the media browser: /media/transformers_allspark_ui/transformers-background.png
  • Direct URL: /transformers_allspark_ui_static/backgrounds/transformers-background.png

Card Examples

image image image

More card examples can be found in on the card examples page.

Development Approach

image

About

An integration for Home Assistant that deploys several Transformers themes, G1 and movie fonts, and a bunch of cards

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages