forked from matt8707/hass-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
executable file
·147 lines (126 loc) · 4.24 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
homeassistant:
name: Hem
latitude: !secret homeassistant_latitude
longitude: !secret homeassistant_longitude
elevation: !secret homeassistant_elevation
unit_system: metric
temperature_unit: C
time_zone: Europe/Stockholm
currency: SEK
packages: !include_dir_named include
allowlist_external_dirs:
- /config
default_config:
lovelace:
mode: yaml
resources:
[ { url: /hacsfiles/apexcharts-card/apexcharts-card.js, type: module },
{ url: /hacsfiles/bar-card/bar-card.js, type: module },
{ url: /hacsfiles/button-card/button-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-layout-card/layout-card.js, type: module },
{ url: /hacsfiles/lovelace-slider-entity-row/slider-entity-row.js, type: module },
{ url: /hacsfiles/lovelace-xiaomi-vacuum-map-card/xiaomi-vacuum-map-card.js, type: module },
{ url: /hacsfiles/swipe-card/swipe-card.js, type: module },
{ url: '/local/calendar-card.js?v=3.109.1', type: module },
{ url: '/local/custom_icons.js?v=28082021', type: module },
{ url: '/local/marked.min.js?v=4.0.12', type: module },
{ url: '/local/vanilla-tilt.min.js?v=1.7.2', type: module },
{ url: /local/font.css, type: css } ]
logger:
default: warning
logs:
homeassistant.components.websocket_api: fatal
homeassistant.components.camera: fatal
homeassistant.helpers.entity: fatal
recorder:
db_url: !secret recorder_db_url
purge_keep_days: 5
commit_interval: 30
exclude:
entity_globs:
- sensor.browser_*
person:
- name: Matte
id: matte
device_trackers:
- device_tracker.mattias_iphone_unifi
- device_tracker.mattias_iphone_ios
- name: Sanja
id: sanja
device_trackers:
- device_tracker.sanjas_iphone_unifi
- device_tracker.sanjas_iphone_ios
smartir:
check_updates: false
climate:
- platform: smartir
name: AC
unique_id: EXP26U758CW
device_code: 1703
controller_data: remote.broadlink_remote
temperature_sensor: sensor.broadlink_rm4_pro_temperature
humidity_sensor: sensor.broadlink_rm4_pro_humidity
power_sensor: binary_sensor.gosund_ac_power_state
power_sensor_restore_state: true
influxdb:
host: !secret influxdb_host
precision: s
include:
entities:
- sensor.mattias_weight
- sensor.sanja_weight
waste_collection_schedule:
sources:
- name: ics
args:
url: !secret waste_collection_schedule_url
wemo:
discovery: false
static: !secret wemo_static
spotify:
client_id: !secret spotify_client_id
client_secret: !secret spotify_client_secret
google:
client_id: !secret google_client_id
client_secret: !secret google_client_secret
calendar:
- platform: caldav
username: !secret caldav_username
password: !secret caldav_password
url: https://caldav.icloud.com
browser_mod:
prefix: browser_
timer:
laundry:
duration: 01:00:00
icon: mdi:washing-machine
restore: true
notify:
- name: ALL_DEVICES
platform: group
services:
- service: mobile_app_mattias_iphone_ios
- service: mobile_app_mattias_imac
- service: mobile_app_sanja_iphone
monitor_docker:
- name: Docker
monitored_conditions: [allinone]
scan_interval: 120
- name: RPi Docker
url: !secret monitor_docker_rpi_url
monitored_conditions: [allinone]
scan_interval: 120
lock:
- platform: template
name: Dator
value_template: >
{{ states('input_boolean.computer_lock') }}
lock:
service: input_boolean.turn_on
entity_id: input_boolean.computer_lock
unlock:
service: input_boolean.turn_off
entity_id: input_boolean.computer_lock