-
Notifications
You must be signed in to change notification settings - Fork 7
/
printer.yaml
78 lines (78 loc) · 2.45 KB
/
printer.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
background: center / cover no-repeat fixed url('/local/lovelace/bg_long.png?v=1')
kiosk_mode:
mobile_settings:
hide_header: true
views:
- icon: 'mdi:printer'
badges: []
cards:
- type: vertical-stack
cards:
- type: 'custom:button-card'
size: 25px
icon: 'mdi:close'
tap_action:
action: navigate
navigation_path: /lovelace/0
styles:
card:
- width: 40px
- height: 40px
- background-color: 'rgba(255,255,255,0)'
- box-shadow: none
icon:
- margin-left: px
- type: 'custom:vertical-stack-in-card'
title: ''
cards:
- type: markdown
content: >
<strong>Canon MX470 Status:</strong> {{
states('sensor.canon_mx470') | capitalize() }}</br></br>
<strong>Ink Levels</strong>
card_mod:
style: |
ha-card {
background: rgba(0,0,0,0.0);
box-shadow:none;
color: white;
margin-bottom: -25px;
}
- type: 'custom:bar-card'
columns: 2
direction: up
entities:
- color: '#1a1a1a'
entity: sensor.canon_mx470_black
name: Black
- color: DarkCyan
name: Color
entity: sensor.canon_mx470_color
height: 200px
max: 100
min: 0
padding: 2px
positions:
icon: 'off'
indicator: 'off'
title: outside
minmax: 'off'
value: inside
card_mod:
style: |
ha-card {
background: rgba(0,0,0,0.0);
color: white;
}
card_mod:
style: |
ha-card {
width: 92%;
margin: auto;
border-radius: 12px;
background: rgba(255,255,255,0.1);
color: white;
--paper-item-icon-color: white;
margin-bottom: 15px;
}
title: Printer