-
Notifications
You must be signed in to change notification settings - Fork 1
/
lovelace-living-room-remote.yaml
57 lines (54 loc) · 1.72 KB
/
lovelace-living-room-remote.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
decluttering_templates: !include_dir_named lovelace/decluttering_templates
button_card_templates: !include lovelace/button_card_templates.yaml
kiosk_mode:
non_admin_settings:
hide_notifications: true
hide_account: true
hide_overflow: true
header_cards:
justify_content: space-between
replace_tabs: true
cards:
- type: markdown
content: |
{{ states('sensor.time') }}
card_mod:
style: |
ha-card {
background: rgba(0,0,0,0) !important;
box-shadow: none !important;
color: var(--app-header-text-color,#fff);
font-size: 120%;
font-weight: 500;
}
- type: custom:mushroom-entity-card
entity: sensor.stue_fjernbetjening_battery_level
primary_info: state
secondary_info: none
card_mod:
style:
.: |
ha-card {
background: rgba(0,0,0,0) !important;
box-shadow: none !important;
}
mushroom-shape-icon {
--icon-color:rgb(var(
{%- set lvl = states('sensor.stue_fjernbetjening_battery_level') | int -%}
{%- if lvl < 10 -%}
--rgb-red
{%- elif lvl < 20 -%}
--rgb-orange
{%- else -%}
--rgb-green
{%- endif -%}
)) !important;
--shape-color: var(--ha-card-background,var(--card-background-color,#fff)) !important;
}
"mushroom-state-info$": |
.container .primary {
color: var(--app-header-text-color,#fff);
font-size: 120%;
}
views:
- !include lovelace/views/living_room_remote.yaml