-
Notifications
You must be signed in to change notification settings - Fork 7
/
configuration.yaml
119 lines (103 loc) · 3.46 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
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Allow access through reverse proxy
http:
use_x_forwarded_for: true
trusted_proxies:
- !secret local_reverse_proxy
frontend:
themes: !include_dir_merge_named themes
# Card Mod Perf improvements, see here: https://github.com/thomasloven/lovelace-card-mod#performance-improvements
extra_module_url:
- /hacsfiles/lovelace-card-mod/card-mod.js
# Required to add has-hue-icons here for them to show up in the sidebar
- /hacsfiles/hass-hue-icons/hass-hue-icons.js
# Text to speech
tts:
- platform: google_translate
zone:
- name: Home
latitude: !secret home_latitude
longitude: !secret home_longitude
radius: 75
icon: mdi:home
notify:
- name: family
platform: group
services:
- service: mobile_app_iphone_13_pro_max
- service: mobile_app_iphone_van_ilse
utility_meter:
daily_gas_consumption:
source: sensor.gas_consumed
name: Daily Gas Consumption
cycle: daily
weekly_gas_consumption:
source: sensor.gas_consumed
name: Weekly Gas Consumption
cycle: weekly
monthly_gas_consumption:
source: sensor.gas_consumed
name: Monthly Gas Consumption
cycle: monthly
# Power Plug Consumption Kwh ##########################################################################################
# https://github.com/bramstroker/homeassistant-powercalc/
powercalc:
sensors:
- name: Sauna
entity_id: switch.sauna_power
fixed:
power: "{{states('sensor.sauna_power_current_consumption')}}"
- name: Mini Fridge
entity_id: switch.mini_fridge
fixed:
power: "{{states('sensor.mini_fridge_electric_consumption_w')}}"
- name: CVO
entity_id: switch.cvo_power
fixed:
power: "{{states('sensor.cvo_power_electric_consumption_w')}}"
- name: Bathroom Mirror
entity_id: switch.bathroom_mirror_light
fixed:
power: "{{states('sensor.bathroom_mirror_power')}}"
########################################################################################################################
group: !include groups.yaml
# By "labeling" the 'automation' key, we can use it multiple times and import from different locations
# This allows us to enable both handwritten and UI-generated automations
automation manual: !include_dir_merge_list automations/
automation ui: !include automations.yaml
command_line: !include sensors/command_line.yaml
script: !include_dir_merge_named scripts/
scene: !include_dir_merge_list scenes/
light: !include lights.yaml
cover: !include covers.yaml
switch: !include switches.yaml
sensor: !include sensors/sensor.yaml
binary_sensor: !include sensors/binary.yaml
template: !include_dir_merge_list templates/
sql: !include sensors/sql.yaml
scrape: !include scrape.yaml
homematic:
interfaces:
rf:
host: !secret homematic_host
resolvenames: json
homekit:
- filter:
include_entities:
- light.nightstand_joris
influxdb:
host: !secret influxdb_host
port: !secret influxdb_port
database: !secret influxdb_database
username: !secret influxdb_username
password: !secret influxdb_password
max_retries: 3
default_measurement: state
# Non UI Integrations (need to be manually configured in here and required HA restart)
# https://github.com/thomasloven/hass-browser_mod
# Used for auto navigating wall-mounted ipads using HA automations
# browser_mod:
# spotcast:
# sp_key: !secret spotcast_sp_key
# sp_dc: !secret spotcast_sp_dc