A super-simple thermostat for Home Assistant's Lovelace UI.

Overview

Minimalist Thermostat by @ShepleySound

A super-simple thermostat for Home Assistant's Lovelace. The goal is to create a thermostat interface that clearly shows both current and target temperatures. This style of display works particularly well in tablet-mounted applications, when the status of a climate device may want to be viewed from a distance.

Version License hacs_badge GitHub Activity

Installation

  1. In Home Assistant, make sure you have HACS installed.
  2. In HACS, go to the "frontend" section
  3. Select "Custom Repositories"
  4. Add the URL of this repository.
  5. Select "Lovelace" under "Category"
  6. Click the "Add" Button.
  7. The plugin should appear as a new repository. Click the "Download" button.
  8. Reload your browser.
  9. Add to resources:
url: /hacsfiles/minimalist-thermostat/minimalist-thermostat.js
type: module

Examples

Default Configuration

Multiple Example

Panel Configuration (Using Card-Mod)

Fullscreen Example

CSS Variables

This card uses the following CSS variables.
You can configure these globally using a Lovelace theme or on each card individually using Card-Mod.

Variable Name Default Value Use
--mt-header-font-size 24px Set the font size of the card's title header.
--mt-temp-header-font-size 2em Set the font size of the "Current" and "Target" temperature headers.
--mt-temp-header-margin-bottom 0px Set the margin between the temperature headers and their numeric values.
--mt-number-font-size 4em Set the font size of the temperature numeric values.
--mt-unit-font-size 0.5em Set the font size of the temperature unit.
--mt-target-button-spacing 2px Set the spacing between the temperature control buttons and the target temperature value.

Full-Screen Panel Configuration (Card-Mod)

type: 'custom:minimalist-thermostat'
panel: true
style: |
  ha-card {
  --mt-header-font-size: 2em;
  --mt-number-font-size: 12vmax;
  --mt-temp-header-font-size: 2em;
  --mt-header-margin-bottom: 24px;
  }

To-do

  • Add testing.
  • Move mode buttons to new custom element.
  • Add optional fan mode buttons.
  • Add optional vane mode buttons.
  • Add optional layout options (Column, row, -/+ buttons, hiding / showing elements)
  • Add better support for Celcius / 0.5 degree steps.
  • Add localization / language translations.
  • Add more CSS variables for better customization.
  • Implement "hold" action to quickly change temperature.
  • Implement temperature memory to store last set temperature for each mode.
  • Implement default temperature to store an optional default temperature for each mode.

Credit

This custom Lovelace card was inspired by simple-thermostat. Boilerplate code for basic card implementation was provided by @custom-cards/boilerplate-code

You might also like...

A web panel to manage TP-Link/Kasa smart home devices.

A web panel to manage TP-Link/Kasa smart home devices.

TP-Link Web Panel A web panel to manage TP-Link/Kasa smart home devices. Prerequisites Node.js v16.13.1 or higher Yarn Installation Run git clone http

Apr 1, 2022

Practice Task of HTML - Mache Free Template (PSD to HTML) - Home Task (CTG)

 Practice Task of HTML - Mache Free Template (PSD to HTML) - Home Task (CTG)

Practice Task of HTML - Mache Free Template (PSD to HTML) - Home Task (CTG) This Assignment is mainly on PSD TO HTML along with HTML,CSS As a Basic HT

Jan 29, 2022

Unofficial HelmRelease search through awesome k8s-at-home projects

Unofficial HelmRelease search through awesome k8s-at-home projects

k8s at home search (unofficial) Search Flux HelmReleases through awesome k8s-at-home projects, check it out at https://whazor.github.io/k8s-at-home-se

Jan 2, 2023

Customizable browser's home page to interact with your homeserver's Docker containers (e.g. Sonarr/Radarr)

Customizable browser's home page to interact with your homeserver's Docker containers (e.g. Sonarr/Radarr)

Homarr A homepage for your server. Demo ↗️ • Install ➡️ Join the discord! 📃 Table of Contents 📃 Table of Contents 🚀 Getting Started ℹ️ About 💥 Kno

Jan 7, 2023

A home for modern admin UIs; successor to Torque

Forque A home for admin apps Meta State: development Staging: https://tools-staging.artsy.net Kubernetes Production: https://tools.artsy.net Kubernete

Sep 13, 2022

This restaurant project is a SPA (single-page application) website. The user can navigate between the home, menu and contact page. I used the MealDB API to display some menu items.

This restaurant project is a SPA (single-page application) website. The user can navigate between the home, menu and contact page. I used the MealDB API to display some menu items.

Fresh Cuisine This restaurant project is from the Odin Project and it is a SPA (single-page application) website. The user can navigate between the ho

Nov 2, 2022

↔️ Swipe through Home Assistant Dashboard views on mobile.

↔️ Swipe through Home Assistant Dashboard views on mobile.

Home Assistant Swipe Navigation Swipe through Home Assistant Dashboard views on mobile. This repository has been forked from maykar/lovelace-swipe-nav

Dec 26, 2022

Hourly weather card for Home Assistant. Visualize upcoming weather conditions as a colored horizontal bar.

Hourly weather card for Home Assistant. Visualize upcoming weather conditions as a colored horizontal bar.

Hourly Weather Card by @decompil3d An hourly weather card for Home Assistant. Visualize upcoming weather conditions as a colored horizontal bar. Can y

Dec 29, 2022

🖥 Home of the Mintlify platform

🖥  Home of the Mintlify platform

🌿 Mintlify Dashboard Mintlify helps teams easily track and manage documentation. 🚀 Get Started 🎥 Demo Features The goal of Mintlify is to increase

Jul 11, 2022
Owner
Robert Shepley
Robert Shepley
A card for Home Assistant Lovelace for exploring the history of your entities interactively and in real time.

History explorer card This is a custom history card for Home Assistant. This card offers a highly interactive and configurable way to view the history

null 165 Dec 31, 2022
A minimalistic card for Home Assistant Lovelace UI which shows how many days it has been between any input_datetime and today.

Datetime Card A minimalistic card for Home Assistant Lovelace UI which shows how many days it has been between any input_datetime and today. Useful to

Antonino Piazza 12 Aug 12, 2022
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Additional themes for Lovelace Mushroom Cards 🍄

?? Mushroom Themes Mushroom themes allow you to customize your Mushroom dashboard using Home Assistant themes. ⚠️ It's only a theme! You need to insta

Paul Bottein 127 Dec 24, 2022
A front-end only implementation of linked template cards for Lovelace

Linked Lovelace by @daredoes A Javascript/Websocket way to do templating in the Lovelace UI Support Hey you! Help me out for a couple of ?? or a ☕ ! F

Daniel Evans 13 Dec 12, 2022
Simple & Quick Access Addon For Home Assistant

Home Assistant - Firefox Addon Quick Access Home Assistant - Firefox Addon Usage Create a Custom Dashboard With Quick Access Entity In Home Assistant

Varun Sridharan 7 Dec 25, 2022
Simple but Complete & Fast network monitor for your home network

netmon Netmon is an opensource project for protecting and monitoring your home network. Netmon is written to run on a Raspberry PI and is optimized to

Tommaso Ventafridda 9 Jul 6, 2022
A homebridge plugin to display the current consumption from your Tibber pulse as lux in Home kit.

homebridge-tibber-lightsensor Tibber lightsensor is a plugin for Homebridge. It fetches the current watt usage of your house and displays it as a ligh

Johan Runbert 2 Oct 11, 2022