Skip to content

🎨 Give your Home Assistant a modern and clean facelift. πŸŸ₯🟧🟩🟦πŸŸͺ 24 Variations with 2 Styles + 6 Colors (Magenta Red / Orange / Green / Blue / Purple) + 🌞 Light and 🌚 Dark modes included. Based on Metro and Fluent UI Design Systems from Microsoft Windows.

Notifications You must be signed in to change notification settings

Madelena/Metrology-for-Hass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

99 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Collage of Screenshots showing the Metro theme in light and dark modes

Metrology for Home Assistant

Metrology is a practical series of app customizations and redesigns aimed at bringing a bold, clear, and consistent user experience to various Windows and Android apps. Its design language is based on Metro and Fluent design systems pioneered by Microsoft Design since the 2010s.

Home Assistant is an open source home automation server that integrates nearly 2000 existing IoT services into one powerful, private, and unified user interface. It is perfect to run on a Raspberry Pi or a local server.

Here is a collection of themes, tweaks, and template buttons to make your Home Assistant look bold, modern, and clean.

Discuss this theme on Home Assistant Community or Reddit.

To check out what this theme is capable of, check out my Home Assistant config.

ko-fi

✨ Thank you @legovaer and @pbohannon for your generous support! ✨

Table of Contents

Metro + Fluent Themes

Two styles are included in this theme:

Metro style example Metro style has a more vibrant color contrast, sharp corners, and a true black background great for AMOLED screens. Based on the design of Windows 10. Fluent style example Fluent style has subtle shades of colors, rounded corners, and background colors adjusted to be easy on eyes. Based on the design of Windows 11.

Awesome Features

Display your home automation status with distinct and bold typography using Segoe UI or Segoe UI Variable fonts. Typography Use Light and Dark Modes natively. Dark Mode has a true black background great for AMOLED screens. Light and Dark Modes
Switch between 6 color themes. Also adding new themes is relatively easy thanks to YAML Anchors. Color Themes Revamp your More Info cards and various system UI screens to look extra clean and slick. Systemwide Theming

Screenshots

Red Theme (Light) Orange Theme (Light) Green Theme (Light) Blue Theme (Light)
Red Theme (Dark) Orange Theme (Dark) Green Theme (Dark) Blue Theme (Dark)
Device Example (Dark) Device Example Device Example (Light) Device Example Binary Sensor Example (Dark) Binary Sensor Example Binary Sensor Example (Light) Binary Sensor Example
Update (Dark) Update Example Update (Light) Update Example Sensor Example (Dark) Sensor Example Sensor Example (Dark) Sensor Example
Settings Example Settings Example

How to Install the Theme

If you have HACS, you probably already know what you are doing. You can search for this theme and install it there. If you don't have HACS, here are the steps:

Prerequisites

  • Some way to upload files to your HA server, e.g. Visual Studio Code or Samba add-ons
  • card-mod

Installation

  1. If you are new to Home Assistant and its themes, you first need to add this in your configuration.yaml file:
frontend:
  themes: !include_dir_merge_named themes
  1. Create a new folder named themes under /config.
  2. Copy metro.yaml to /config/themes.
  3. (Optional if you want Segoe UI on non-Windows devices) Copy style.css and the .ttf font files in the /www folder to /config/www.
  • If you are using the Lovelace Dashboard not in YAML mode, go to your Home Assistant Settings -> Dashboards -> Resources and then add /local/style.css as a Stylesheet. (Note: It might look strange that you had copied the files to /www but here you typed /local, but HA will handle the path redirection for you so no worries.)
  • If you are using it in YAML mode, add the following to your lovelace resources section:
      lovelace:
        mode: yaml
        resources:
          - url: /local/style.css
            type: css
  1. Restart Home Assistant to apply the changes. Once restarted, go to your Profile page, which is the button where your avatar is at the bottom left.

Installation Instructions

  1. Under Themes, choose the color you like for the Metro themes.
  2. Pick Auto, Light, or Dark Mode for the theme.

Segoe UI font is optional if you are already using Windows. If you are not using Home Assistant, you can download the fonts here and upload them along with style.css to your /config/www folder.

Live Tile Templates

This is for advanced users only. If you don't know how to edit YAML, this will be rather difficult.

TBD. Includes button-card templates in the form of Live Tiles. Watch this repo for updates.

Title Card

Header Card

Live Tile

Live Tile Card

Live Tile Media Player Card

Mini Graph Card

Light Group Card

Light Slider Card

Hue Scene Card and Card Mini

How to use wider Live Tiles

CSS Variables for your custom cards

Credits

Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Additionally, I would appreciate proper credits back to me if redistributed or modified. That would help my livelihood since design is my career.

The initial code was partially based on the JuanMTech's AMOLED Theme.

About

🎨 Give your Home Assistant a modern and clean facelift. πŸŸ₯🟧🟩🟦πŸŸͺ 24 Variations with 2 Styles + 6 Colors (Magenta Red / Orange / Green / Blue / Purple) + 🌞 Light and 🌚 Dark modes included. Based on Metro and Fluent UI Design Systems from Microsoft Windows.

Topics

Resources

Stars

Watchers

Forks

Languages