-
Notifications
You must be signed in to change notification settings - Fork 5
/
configuration.yaml
executable file
·159 lines (148 loc) · 3.55 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
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
homeassistant:
packages: !include_dir_named packages
external_url: !secret base_origin
internal_url: !secret internal_url
# Enables the frontend
frontend:
themes: !include_dir_merge_named themes/
http:
cors_allowed_origins:
- !secret base_origin
use_x_forwarded_for: true
trusted_proxies:
- !secret nginx_proxy
- 172.30.33.0/24
###########################################
# Core Components
###########################################
config:
sun:
discovery:
system_health:
mobile_app:
history:
logbook:
exclude:
domains:
- sun
entities:
- sensor.time
- sensor.time_utc
- sensor.date_time
- sensor.time_date
- sensor.uptime_minutes
- sensor.watchman_last_updated
entity_globs:
- sensor.*_last_seen
- sensor.rpi_monitor_*
recorder:
db_url: !secret db_url
stream:
tts:
- platform: google_translate
cache: true
cache_dir: /tmp/tts
time_memory: 300
service_name: google_say
logger:
default: warning
###########################################
# Includes
###########################################
automation: !include automations.yaml
binary_sensor: !include binary_sensor.yaml
emulated_hue: !include emulated_hue.yaml
media_player: !include media_player.yaml
input_boolean: !include input_boolean.yaml
input_number: !include input_number.yaml
notify: !include notify.yaml
script: !include scripts.yaml
sensor: !include_dir_merge_list sensor
template: !include_dir_merge_list template
###########################################
# Classic Groups
###########################################
group:
family_devices:
name: "Family Devices"
entities:
- person.jared
- person.brittany
###########################################
# Panels
###########################################
panel_iframe:
frigate:
title: "Frigate NVR"
url: !secret frigate_url
icon: mdi:cctv
require_admin: true
zwavejs2mqtt:
title: "ZwaveJS2Mqtt"
url: !secret zwavejs_url
icon: mdi:z-wave
require_admin: true
zigbee2mqtt:
title: "Zigbee2Mqtt"
url: !secret zigbee_url
icon: mdi:zigbee
require_admin: true
###########################################
# Influx
###########################################
influxdb:
api_version: 2
host: !secret influx_ip
ssl: false
port: 8086
organization: homeassistant
bucket: homeassistant
token: !secret influx_token
max_retries: 3
default_measurement: state
tags:
source: HA
tags_attributes:
- friendly_name
exclude:
entities:
- zone.home
domains:
- persistent_notification
- person
include:
domains:
- sensor
- binary_sensor
###########################################
# Weather
###########################################
weather:
- platform: darksky
api_key: !secret darksky_api
###########################################
# Third Party Components
###########################################
google_assistant: !include google_assistant.yaml
nest:
client_id: !secret nest_client_id
client_secret: !secret nest_client_secret
###########################################
# Climate
###########################################
climate:
- platform: generic_thermostat
name: Master Bathroom
heater: switch.space_heater
target_sensor: sensor.master_bathroom_temperature
min_temp: 21
max_temp: 23
ac_mode: false
target_temp: 21.5
min_cycle_duration:
seconds: 45
initial_hvac_mode: "off"
away_temp: 19
precision: 0.1