Home

Awesome

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:

<table> <tr width="50%"> <td valign="top"> <img alt="Metro style example" src="https://user-images.githubusercontent.com/4341881/177698759-1770e1a0-eff4-4f3a-aee3-4643733c450c.png"/> <b>Metro</b> 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. </td> <td valign="top"> <img alt="Fluent style example" src="https://user-images.githubusercontent.com/4341881/177698757-b9bffe0e-e9cc-4fb3-8dca-1d07936ec2f7.png"/> <b>Fluent</b> style has subtle shades of colors, rounded corners, and background colors adjusted to be easy on eyes. Based on the design of Windows 11. </td> </tr> </table>

Awesome Features

<table> <tr width="50%"> <td valign="top"> Display your home automation status with distinct and bold typography using Segoe UI or Segoe UI Variable fonts. <img alt="Typography" src="https://user-images.githubusercontent.com/4341881/177691335-311cec05-ee60-4937-a70c-d1b313609da5.png"/></td> <td valign="top"> Use Light and Dark Modes natively. Dark Mode has a true black background great for AMOLED screens. <img alt="Light and Dark Modes" src="https://user-images.githubusercontent.com/4341881/177691336-ba4a0aa4-daff-44af-8ed5-9661367e460b.png"/></td> </tr> <tr width="50%"> <td valign="top"> Switch between 6 color themes. Also adding new themes is relatively easy thanks to YAML Anchors. <img alt="Color Themes" src="https://user-images.githubusercontent.com/4341881/177691338-82039962-61a9-4b4a-a366-5ae90d932c2f.png"/></td> <td valign="top"> Revamp your More Info cards and various system UI screens to look extra clean and slick. <img alt="Systemwide Theming" src="https://user-images.githubusercontent.com/4341881/177691339-a91d58bf-dc01-4f1e-b35f-7478b4dafe61.png"/></td> </tr> </table>

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 ExampleDevice Example (Light) Device ExampleBinary Sensor Example (Dark) Binary Sensor ExampleBinary Sensor Example (Light) Binary Sensor Example
Update (Dark) Update ExampleUpdate (Light) Update ExampleSensor Example (Dark) Sensor ExampleSensor 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

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.
  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.