forked from Klumpke/homeassistant-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
91 lines (80 loc) · 2.37 KB
/
configuration.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: !secret zone_home_latitude
longitude: !secret zone_home_longitude
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: !secret zone_home_elevation
# metric for Metric, imperial for Imperial
unit_system: metric
# Timezone
time_zone: Europe/Amsterdam
# Customization file
customize: !include customize.yaml
# Load packages
packages: !include_dir_named integrations/
# Discover some devices automatically
#discovery:
# Customizer Component
# https://github.com/andrey-git/home-assistant-customizer
# customizer:
# custom_ui: local
script: !include scripts.yaml
# Load Scenes
# https://www.home-assistant.io/docs/scene/editor/
scene: !include scenes.yaml
# Lovelace Mode
lovelace:
mode: yaml
resources: !include_dir_merge_list dwains-theme/resources/
dashboards:
dwains-theme:
mode: yaml
title: Dwains Theme
icon: mdi:alpha-d-box
show_in_sidebar: true
filename: dwains-theme-lovelace.yaml
# Frontend and HTTP
frontend:
themes: !include_dir_merge_named themes
# themes: !include_dir_named themes
extra_html_url:
- /local/dwains-theme/fonts/fontawesome/hass-fontawesome-solid.html
- /local/dwains-theme/fonts/fontawesome/hass-fontawesome-regular.html
- /local/dwains-theme/fonts/fontawesome/hass-fontawesome-light.html
# Load Browser Mod
# https://github.com/thomasloven/hass-browser_mod
browser_mod:
#Dwains theme definitions (this is for doing all the jinja2 inside YAML files)
dwains_theme:
global:
version: '1.3.0'
styles:
padding-left: '10px'
translations:
!include_dir_merge_named dwains-theme/translations/
configuration:
!include_dir_merge_named dwains-theme/configs/
icons:
!include dwains-theme/configs/icons.yaml
#Sensor for latest version
sensor:
- platform: scrape
resource: https://dwains-theme.dwainscheeren.nl/version?v=1.3.0
name: Dwains Theme Version
select: ".current-version h1"
value_template: '{{ value.split(":")[1] }}'
scan_interval: 3600
#Input select
input_select:
#Theme selector
theme_selector:
name: Theme Selector
options:
- Auto Mode (Dark/Light)
- Dark Mode
- Light Mode
- Auto Mode (Black/White)
- Black Mode
- White Mode