-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
executable file
·46 lines (44 loc) · 1.12 KB
/
config.py
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
hapy_config = {
"home_card" : "ventilation",
"style" : "default",
"display_width" : 240,
"display_height" : 320,
"icon_path" : "/sd/icons/"
}
hapy_cards = {
"ventilation": {
"name": "Ventilation",
"type": "entity",
"entity": "fan.ventilation",
},
"office_lights": {
"title": "Office Light",
"type": "light",
"entity": "light.office_group",
},
"living_cabinet": {
"title": "Lights",
"type": "entities",
"entity_ids": ["light.living_left", "light.living_right"],
}
}
hapy_styles = {
"default": {
"background_color" : 0xffffff,
"font" : "Roboto",
"font_size" : 36,
"text_color" : 0x000000,
"icon_state_on_color" : 0xffff00,
"header_background_color" : 0x049cdb,
"header_text_color" : 0xffffff
},
"dark": {
"background_color" : 0x000000,
"font" : "Roboto",
"font_size" : 18,
"text_color" : 0xffffff,
"icon_state_on_color" : 0xffff00,
"header_background_color" : 0x000000,
"header_text_color" : 0xffffff
}
}