• Stars
    star
    426
  • Rank 101,255 (Top 3 %)
  • Language Jinja
  • License
    MIT License
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

โค๏ธ๐Ÿ“ฑ๐Ÿ ๐Ÿค– Themes inspired by iOS Dark โฌ›๏ธ and Light โ—ป๏ธ Mode for Lovelace Home Assistant with different backgrounds by @basnijholt

iOS Themes

Action Status hacs_badge homeassistant_community Github Stars

The iOS Theme by @basnijholt and modified from @kalkih's Gist

A generalized version of iOS Dark Mode Theme! This includes both Dark and Light Mode and 7 different HomeKit backgrounds. Installing this theme adds 28 different themes:

  • ios-light-mode-dark-green
  • ios-dark-mode-dark-green
  • ios-light-mode-light-blue
  • ios-dark-mode-light-blue
  • ios-light-mode-light-green
  • ios-dark-mode-light-green
  • ios-light-mode-orange
  • ios-dark-mode-orange
  • ios-light-mode-blue-red
  • ios-dark-mode-blue-red
  • ios-light-mode-red
  • ios-dark-mode-red
  • ios-light-mode-dark-blue
  • ios-dark-mode-dark-blue
  • ... and versions with the -alternative suffix

Screenshots

Screenshots of my Home-Assistant instance, see the config files here :octocat:.

Low quality gif, click here to see a mp4 (or scroll down).

Theme - Overview

Overview

Theme - Overview Theme - Overview Theme - Overview Theme - Overview Theme - Overview Theme - Overview Theme - Overview Theme - Overview Theme - Overview Theme - Overview Theme - Overview Theme - Overview Theme - Overview Theme - Overview

Installation

  1. Installation of the themes with HACS.
  • (If you do not have it yet) Install HACS.
  • Go to the HACS Community Store.
  • Click on the THEMES tab.
  • Search and install the iOS Themes.
  1. Add the following code to your configuration.yaml file (reboot required).
frontend:
  ... # your configuration.
  themes: !include_dir_merge_named themes
  ... # your configuration.
  1. Add the following line to your lovelace-ui.yaml or use the RAW editor:
background: var(--background-image)

So the end result will be something like this example.

Automations to easily switch

WARNING: if you want to switch themes using automations, you need to go to your profile and select "Backend-selected" for Theme!

It is recommended to use these automations (basnijholt/home-assistant-config/automations/frontend.yaml) in combination with these:

input_select:
  theme:
    options:
      - blue-red
      - dark-blue
      - dark-green
      - light-blue
      - light-green
      - orange
      - red
    icon: mdi:format-color-fill
  
input_boolean:
  dark_mode:
    name: Dark mode
    icon: mdi:theme-light-dark
  theme_alternative:
    name: Theme alternative (disable active state color)

Then add input_select.theme, input_boolean.theme_alternative, and input_boolean.dark_mode to your Lovelace UI.

How does the code work

All the 28(!) themes in themes/ are automatically generated using create-themes.py and the information in settings-light-dark.yaml is passed into template.jinja2. The resulting file is themes/ios-themes.yaml which contains all variants (different backgrounds and dark/light mode).

More Repositories

1

adaptive-lighting

Adaptive Lighting custom component for Home Assistant
Python
1,790
star
2

home-assistant-config

Home Assistant config files, rewritten to use the latest features, 100+ documented automations, automatically generated ToC ๐Ÿ  ๐Ÿค–
JavaScript
1,445
star
3

lovelace-ios-dark-mode-theme

๐Ÿ ๐Ÿค– Theme by @basnijholt based on iOS Dark Mode for Lovelace Home Assistant
410
star
4

home-assistant-streamdeck-yaml

Control Home Assistant on Stream Deck with support on all operating systems and configuration via YAML
Python
106
star
5

home-assistant-macbook-touch-bar

Displaying Home Assistant sensors in the Macbook Pro's touch bar using BTT ๐Ÿค–๐Ÿ’ป
Python
92
star
6

markdown-code-runner

Automatically execute code blocks within a Markdown file and update the output in-place
Python
53
star
7

home-assistant-streamdeck-yaml-addon

Home Assistant Stream Deck YAML Add-on ๐ŸŽฎ
Shell
42
star
8

aiokef

Asyncio Python API for KEF speakers ๐Ÿ”ˆ
Python
28
star
9

adaptive-scheduler

Run many functions (adaptively) on many cores (>10k-100k) using mpi4py.futures, ipyparallel, loky, or dask-mpi. ๐ŸŽ‰
Python
26
star
10

thesis-cover

Parametrically designing my PhD thesis cover using adaptive sampling, neural networks, and quantum physics
Jupyter Notebook
25
star
11

instacron

๐Ÿ“ธ Instagram for the lazy - automatically upload a photo to Instagram
Python
20
star
12

addon-otmonitor

OpenTherm Monitor Home Assistant supervisor add-on
HTML
15
star
13

thesis

๐ŸŽ“ Ph.D. thesis: Towards realistic numerical simulations of Majorana devices
TeX
11
star
14

net-worth-tracker

Blockfolio/Delta without manual labor
Python
9
star
15

molecular-dynamics-Python

2016: Molecular dynamics simulation of an Argon gas
Jupyter Notebook
9
star
16

lovelace-ios-light-mode-theme

๐Ÿ ๐Ÿค– Theme based on iOS Light Mode for Lovelace Home Assistant
9
star
17

pfapack

Efficient numerical computation of the Pfaffian for dense and banded skew-symmetric matrices
Python
8
star
18

variational-quantum-monte-carlo

2014: Variational Monte Carlo for the harmonic oscillator, helium, hydrogen and H2 - IPython notebook and FORTRAN90
Jupyter Notebook
8
star
19

yaml2bib

๐Ÿ“– Convert a yaml file to bib file with the correct journal abbreviations.
Python
7
star
20

ipynb_git_filters

๐Ÿค– Clean your notebook outputs with every commit!
Python
7
star
21

spin-orbit-nanowires

๐Ÿ“œ Code for Spin-Orbit Protection of Induced Superconductivity in Majorana Nanowires (10.1103/PhysRevLett.122.187702)
Python
6
star
22

psychedelic-data-science

๐Ÿ„ crawling user experience data from erowid.org
Jupyter Notebook
6
star
23

media_player.kef

๐Ÿ ๐Ÿ”ˆ Home Assistant integration for KEF LS50 Wireless and LSX speakers
Python
5
star
24

hpc05

๐Ÿ–ฅ ipyparallel.Client package for a PBS or SLURM cluster with a headnode
Python
5
star
25

calendar-of-life

Inspired by Kurzgesagt and Tim Urban
Python
5
star
26

orbitalfield

๐Ÿ“ƒ Code for Phys. Rev. B 93, 235434, (2016): Orbital effect of magnetic field on the Majorana phase diagram
Python
5
star
27

kopen-of-huren

Huis kopen of huren? Wat levert meer op?
Jupyter Notebook
5
star
28

pipefunc

Lightweight function pipeline creation: ๐Ÿ“š Less Bookkeeping, ๐ŸŽฏ More Doing
Python
4
star
29

slurm-usage

๐Ÿ–ฅ Command to list the current cluster usage per user
Python
4
star
30

nijho.lt

๐Ÿ–ฅ๐ŸŒ my personal website
HTML
4
star
31

mumpy

Python bindings for the MUMPS package MUMPS: a parallel sparse direct solver
Python
4
star
32

codestructure

A command line program to print the function signatures
Python
4
star
33

nanowire-bandstructures

Bandstructures for 1D, 2D, and 3D proximity coupled semiconducting nanowires
Python
3
star
34

rsync-time-machine.py

Time Machine-style backups using rsync
Python
3
star
35

arxiv-feed-mailer

Daily e-mail with filtered new arXiv entries using Gmail API ๐Ÿ“ƒ
Python
3
star
36

molecular-dynamics-FORTRAN

2014: Molecular Dynamics Simulation of a Argon gas - FORTRAN90
TeX
2
star
37

majorana-nanowire-conductance

Simulate a 1D nanowire and plot the conductance and band structure
Jupyter Notebook
2
star
38

revtex-markdown-paper

Write a REVTeX paper in Markdown
TeX
2
star
39

basnijholt

Hi, welcome to my profile!
Python
2
star
40

Markov-chain-Monte-Carlo-polymer-growth

2014: Grow polymers with the rosenbluth algorithm - IPython notebook
Jupyter Notebook
2
star
41

supercurrent-majorana-nanowire

Jupyter Notebook
1
star
42

Schrodinger-time-evolution

2014: The time evolution of different waves, solved with the split-operator method and the Crank-Nicolson - IPython notebook
Jupyter Notebook
1
star
43

kwant-conda-recipes

Shell
1
star
44

qcodes-repr

View your qcodes database experiments at a glance
Python
1
star
45

conda-recipes

Conda recipes for kwant and related packages, a quantum transport simulations package
Shell
1
star