-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnspanelpro.yaml
204 lines (204 loc) · 6.88 KB
/
nspanelpro.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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
views:
- type: masonry
path: nspanel
title: NSPanel
cards: []
title: Home
wallpanel:
enabled: true
debug: false
idle_time: 1
info_move_interval: 0.3
image_url: https://picsum.photos/${width}/${height}?random=${timestamp}
cards:
- square: false
columns: 2
type: grid
cards:
- type: vertical-stack
cards:
- type: custom:digital-clock
locale: hu
card_mod:
style: |
ha-card {
--ha-card-box-shadow: none;
--ha-card-background: none;
--ha-card-spacing: 0px;
--ha-card-padding: 8px;
}
dateFormat:
weekday: long
day: 2-digit
month: short
timeFormat:
hour: 2-digit
minute: 2-digit
- type: custom:bar-card
entities:
- entity: sensor.e_up_battery_level
name: e-up battery
icon: mdi:car-battery
severity:
- color: green
from: '50'
to: '100'
- color: orange
to: '21'
from: '49'
- color: red
from: '0'
to: '20'
- entity: sensor.teltocharge_current_power
max: 22000
- type: vertical-stack
cards:
- type: custom:mushroom-entity-card
entity: sensor.wolf_dhk_bm2_0x30_340041_raumtemperatur
icon: mdi:home-thermometer-outline
name: Belső hőmérséklet
- type: custom:mushroom-entity-card
entity: sensor.midea_ac_outdoor_temperature
icon: mdi:home-thermometer
name: Külső hőmérséklet
- square: false
columns: 1
type: grid
cards:
- type: weather-forecast
entity: weather.home
forecast_type: hourly
secondary_info_attribute: humidity
name: Weather
show_current: true
- square: false
columns: 3
type: grid
cards:
- type: custom:mushroom-template-card
primary: Licht
secondary: |-
{% if (states('sensor.total_lights_on')| int > 0) %}
{{ states('sensor.total_lights_on') }}
{%- else -%}
off
{%- endif %}
icon: mdi:lightbulb
entity: sensor.total_lights_on
fill_container: true
icon_color: |2-
{% if states('sensor.total_lights_on') | int > 0 %}
amber
{%- else -%}
lightgray
{%- endif %}
layout: vertical
badge_color: ''
badge_icon: ''
- type: custom:mushroom-template-card
primary: Ablakok
secondary: |-
{% if states('sensor.total_open_windows') | int > 0 %}
{{ states('sensor.total_open_windows') }}
{%- else -%}
zárva
{%- endif %}
icon: |-
{% if states('sensor.total_open_windows') | int > 0 %}
mdi:window-open-variant
{%- else -%}
mdi:window-closed-variant
{%- endif %}
entity: sensor.total_open_windows
fill_container: true
layout: vertical
icon_color: |-
{% if states('sensor.total_open_windows')| int > 0 %}
amber
{%- else -%}
gray
{%- endif %}
multiline_secondary: false
badge_color: ''
- type: custom:mushroom-template-card
primary: Garázskapu
secondary: >-
{% if states('binary_sensor.garazskapu_doorsensor_contact') !=
'off' %}
{{ states('binary_sensor.garazskapu_doorsensor_contact') }}
{%- else -%}
zárva
{%- endif %}
icon: >-
{% if states('binary_sensor.garazskapu_doorsensor_contact') == 'on' %}
mdi:door-open
{%- else -%}
mdi:door-closed
{%- endif %}
entity: binary_sensor.garazskapu_doorsensor_contact
fill_container: true
layout: vertical
icon_color: >-
{% if states('binary_sensor.garazskapu_doorsensor_contact') == 'on' %}
red
{%- elif states('binary_sensor.garazskapu_doorsensor_contact') == 'off' %}
green
{%- else -%}
gray
{%- endif %}
badge_icon: |-
{% if states('binary_sensor.garazskapu_doorsensor_contact') == 'off' %}
mdi:lock
{%- else -%}
mdi:lock-off
{%- endif %}
badge_color: |-
{% if states('binary_sensor.garazskapu_doorsensor_contact') == 'off' %}
red
{%- else -%}
green
{%- endif %}
multiline_secondary: false
profile_entity: input_select.wallpanel
profiles:
day:
image_url: https://picsum.photos/${width}/${height}?random=${timestamp}
style:
wallpanel-screensaver-container:
background-color: '#333333dd'
wallpanel-screensaver-info-box:
'--wp-card-width': 430px
'--wp-card-margin': 1px
'--wp-card-padding': 0px
'--wp-card-backdrop-filter': none
background-color: '#ffffff99'
box-shadow: >-
0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0,
0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12)
wallpanel-screensaver-info-box-content:
'--ha-card-box-shadow': none
'--ha-card-background': none
'--ha-card-border-width': 0px
'--primary-background-color': '#202020'
'--secondary-background-color': '#e5e5e5'
'--primary-text-color': '#212121'
'--secondary-text-color': '#727272'
night:
image_url: https://picsum.photos/${width}/${height}?random=${timestamp}
style:
wallpanel-screensaver-info-box:
'--wp-card-width': 430px
'--wp-card-margin': 1px
'--wp-card-padding': 0px
'--wp-card-backdrop-filter': none
background-color: '#00000099'
box-shadow: >-
0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0,
0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12)
wallpanel-screensaver-info-box-content:
'--ha-card-background': none
'--ha-card-box-shadow': none
'--primary-background-color': '#111111'
'--secondary-background-color': '#202020'
'--primary-text-color': '#e1e1e1'
'--secondary-text-color': '#9b9b9b'