-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathactivelights.yaml
More file actions
69 lines (69 loc) · 1.71 KB
/
activelights.yaml
File metadata and controls
69 lines (69 loc) · 1.71 KB
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
type: custom:button-card
template:
- variable_template
- body_template
styles:
grid:
- grid-template-areas: |
"title status"
"card card"
"windspeed windspeed"
- grid-template-rows: min-content 4fr min-content
- grid-template-columns: 1fr 1fr
custom_fields:
title:
- align-self: start
- justify-self: start
- padding: 1px
card:
- align-self: center
- justify-self: center
- width: auto
- height: auto
- max-width: auto
- transform: scale(2.1)
custom_fields:
title:
card:
type: custom:button-card
icon: mdi:thermostat
name: "[[[ return variables.var_current_time ]]]"
tap_action:
action: navigate
navigation_path: thermostat
styles:
card:
- background-color: transparent
- border-width: 0px
- width: 100%
- padding: 0px
grid:
- grid-template-areas: "\"i n\""
- grid-template-columns: min-content min-content
name:
- font-size: 6vh
- color: white
- font-weight: bold
icon:
- filter: drop-shadow(2px 2px 4px black)
- width: 12vh
- color: white
card:
card:
type: vertical-stack
cards:
- type: custom:auto-entities
show_empty: false
card:
type: entities
filter:
include:
- domain: light
state: "on"
options:
tap_action:
action: toggle
exclude:
- entity_id: "*as.*"
- entity_id: "*tablet.*"
- entity_id: "*light.woonkamer_lampen*"