-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui-lovelace.yaml
executable file
·151 lines (148 loc) · 5.65 KB
/
ui-lovelace.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
title: My Awesome Home
# Include external resources
resources:
- url: /local/my-custom-card.js
type: js
- url: /local/my-webfont.css
type: css
# Optional background for all views. Check https://developer.mozilla.org/en-US/docs/Web/CSS/background for more examples.
background: center / cover no-repeat url("/background.png") fixed
# Exclude entities from "Unused entities" view
excluded_entities:
- weblink.router
views:
# #####################################################################
# Tab #1
# #####################################################################
# View tab title.
- title: Main
# Optional unique id for direct access /lovelace/${id}
id: main_card
# Optional background (overwrites the global background).
background: radial-gradient(blue, skyblue)
# Each view can have a different theme applied. Theme should be defined in the frontend.
theme: dark-mode
# The cards to show on this view.
cards:
# #####################################################################
# The filter card will filter entities for their state
# #####################################################################
# - type: picture-elements
# image: ./images/Downstairs.png
# title: Home
- type: entity-filter
entities:
- light.living_room_lamp
- light.living_room_ceiling_lights
- light.kitchen_lights
- light.back_room
- light.stairway_downstairs
- light.bedroom_lamp_left
- light.bedroom_lamp_right
- light.stairway_upstairs
- switch.fan
- light.patio_lights
- light.outdoor_flood_lights
state_filter:
- 'on'
card:
type: entities
title: Lights that are on!!!
# #####################################################################
# Media player
# #####################################################################
- type: entities
title: Media
entities:
- input_boolean.input_kpcc
- input_boolean.input_kpcc_downstairs
# #####################################################################
# Scenes
# #####################################################################
- type: entities
title: Scenes
entities:
- script.morning_lights
- script.evening_lights
- script.bedtime_lights
- script.zero_lights
- script.kpcc_toggle
# #####################################################################
# Downstairs
# #####################################################################
- type: entities
title: Downstairs
entities:
- light.living_room_lamp
- light.living_room_ceiling_lights
- light.kitchen_lights
- light.back_room
- light.stairway_downstairs
# #####################################################################
# Upstairs
# #####################################################################
- type: entities
title: Upstairs
entities:
- light.bedroom_lamp_left
- light.bedroom_lamp_right
- light.stairway_upstairs
# #####################################################################
# Other
# #####################################################################
- type: entities
title: Other
entities:
- switch.fan
# #####################################################################
# Outside
# #####################################################################
- type: entities
title: Outside
entities:
- light.patio_lights
- light.outdoor_flood_lights
# #####################################################################
# Utilities
# #####################################################################
- type: entities
title: Utilities
entities:
- script.restart_ha
- script.reload_automations
- script.reload_core_config
- script.appdaemon_test
- script.homekit_start
- script.homekit_reset
# #####################################################################
# The picture entity card will represent an entity with a picture
# #####################################################################
# - type: picture-entity
# image: https://www.home-assistant.io/images/default-social.png
# entity: light.living_room_lamp
# #####################################################################
# Tab #2
# #####################################################################
# Specify a tab icon if you want the view tab to be an icon.
- icon: mdi:home-assistant
# Title of the view. Will be used as the tooltip for tab icon
title: Second view
background: radial-gradient(blue, skyblue)
cards:
# Entities card will take a list of entities and show their state.
- type: entities
# Title of the entities card
title: Example
# The entities here will be shown in the same order as specified.
# Each entry is an entity ID or a map with extra options.
entities:
- light.kitchen
- switch.ac
- entity: light.patio_lights
# Override the name to use
name: PAT Lights
# The markdown card will render markdown text.
- type: markdown
title: Lovelace
content: >
Welcome to your **Lovelace UI**.