-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
44 lines (37 loc) · 955 Bytes
/
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
homeassistant:
packages: !include_dir_named packages
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
http:
use_x_forwarded_for: true
trusted_proxies: 192.168.0.0/24
recorder:
purge_keep_days: 90
influxdb:
host: !secret influx_host
port: 8086
database: homeassistant
username: homeassistant
password: !secret influx_pwd
max_retries: 3
default_measurement: state
include:
entity_globs:
- sensor.*_meter_15
- sensor.*_meter_day
pyscript:
allow_all_imports: true
apps:
meters_persist:
- dbhost: !secret influx_host
dbpassword: !secret influx_pwd
meters_calculate_incs:
- dbhost: !secret influx_host
dbpassword: !secret influx_pwd
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
alert: !include alerts.yaml