-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
159 lines (153 loc) · 4.48 KB
/
configuration.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
#reverse proxy configuration
http:
use_x_forwarded_for: true
trusted_proxies:
- 192.168.10.13 # Add the IP address of the proxy server
# - 192.168.10.0/24 # You may also provide the subnet mask
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
#smartIR update settings
smartir:
check_updates: false
#########
#loggers#
#########
logger:
default: info
logs:
custom_components.xiaomi_cloud_map_extractor: debug
#custome lovelace
lovelace:
mode: yaml
resources:
[
{
url: /hacsfiles/lovelace-slider-entity-row/slider-entity-row.js,
type: module,
},
{ url: /hacsfiles/button-card/button-card.js, type: module },
{ url: /hacsfiles/decluttering-card/decluttering-card.js, type: module },
{ url: /hacsfiles/kiosk-mode/kiosk-mode.js, type: module },
{ url: /hacsfiles/light-entity-card/light-entity-card.js, type: module },
{ url: /hacsfiles/light-popup-card/light-popup-card.js, type: module },
{ url: /hacsfiles/lovelace-card-mod/card-mod.js, type: module },
{ url: /hacsfiles/lovelace-layout-card/layout-card.js, type: module },
{ url: /hacsfiles/weather-card/weather-card.js, type: module },
{ url: /hacsfiles/simple-thermostat/simple-thermostat.js, type: module },
{ url: /hacsfiles/hass-shutter-card/hass-shutter-card.js, type: module },
{
url: /hacsfiles/lovelace-home-feed-card/lovelace-home-feed-card.js,
type: module,
},
{
url: /hacsfiles/lovelace-xiaomi-vacuum-map-card/xiaomi-vacuum-map-card.js,
type: module,
},
{
url: /hacsfiles/lovelace-xiaomi-vacuum-card/xiaomi-vacuum-card.js,
type: module,
},
{
url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.js,
type: module,
},
]
dashboards:
ui-mobile: # Needs to contain a hyphen (-)
mode: yaml
filename: mobile-lovelace.yaml
title: Mobile
icon: mdi:cellphone
show_in_sidebar: true
#Themes
frontend:
themes: !include_dir_merge_named themes
# Text to speech
tts:
- platform: google_translate
#Browser mode
browser_mod:
prefix: "browser_mod_"
devices:
7dc1ceec-9544f418:
name: desktop_pc
#Google maps tracker
device_tracker:
- platform: google_maps
username: "yaroslavmha@gmail.com"
#====================================
#=== Needed for DB + monitor
homeassistant:
allowlist_external_dirs:
- /config
recorder:
purge_keep_days: 7
include:
entities:
- sensor.livingroom_pc_intel_core_i5_4250u_load_cpu_total
- sensor.livingroom_pc_intel_d54250wyk_nuvoton_nct6776f_temperatures_cpu_core
- sensor.livingroom_pc_generic_memory_load_memory
- sensor.livingroom_pc_kingston_sv300s37a240g_load_used_space
- sensor.livingroom_pc_kingston_sv300s37a240g_temperatures_temperature
- sensor.livingroom_pc_kingston_sv300s37a240g_levels_remaining_life
- sensor.livingroom_pc_intel_d54250wyk_nuvoton_nct6776f_fans_fan_2
exclude:
domains:
- camera
- script
- sun
entity_globs:
- sensor.weather_*
- sensor.browser_*
- sensor.livingroom_pc_*
entities:
- sensor.packets_in_enp0s3
- sensor.packets_out_enp0s3
- sensor.network_throughput_in_enp0s3
- sensor.network_throughput_out_enp0s3
- sensor.rpi_uptime
# - sensor.processor_use
- sensor.current_date_time
- sensor.date_time
- sensor.time
#===end
samsungtv_smart:
- host: 192.168.0.150
app_list: {
"Netflix": "3201907018807/org.tizen.netflix-app",
"YouTube": "111299001912",
"Ambient Mode": "art"
}
#----------------
# Utility Meter #
#----------------
utility_meter:
electricity_daily_kwh:
source: sensor.energy_total
cycle: daily
electricity_weekly_kwh:
source: sensor.energy_total
cycle: weekly
electricity_monthly_kwh:
source: sensor.energy_total
cycle: monthly
#----------------
#conversation
conversation:
#camera for Vacuum
camera: !include_dir_merge_list camera/
#custom sensors
mqtt:
sensor: !include_dir_merge_list sensors/mqtt/
switch: !include_dir_merge_list switches/mqtt/
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
#legacy
switch: !include_dir_merge_list switches/legacy/
sensor: !include_dir_merge_list sensors/legacy/
#new
template: !include_dir_merge_list sensors/templates/
#broadlink to climate entities
climate: !include_dir_merge_list climate/