forked from matt8707/hass-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
executable file
·149 lines (129 loc) · 4.2 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
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/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-card-mod/card-mod.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-valetudo-map-card/valetudo-map-card.js, type: module },
{ url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.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/font.css, type: css } ]
logger:
default: warning
logs:
homeassistant.components.websocket_api: fatal
homeassistant.components.bluetooth_tracker.device_tracker: fatal
recorder:
db_url: !secret recorder_db_url
purge_keep_days: 5
person:
- name: Matte
id: matte
device_trackers:
- device_tracker.mattias_iphone_ios
- device_tracker.mattias_iphonedetect
- device_tracker.mattias_iphone_unifi
- device_tracker.mattias_bluetooth
- name: Sanja
id: sanja
device_trackers:
- device_tracker.sanja_iphonedetect
- device_tracker.sanjas_iphone_unifi
- device_tracker.sanja_bluetooth
device_tracker:
- platform: iphonedetect
consider_home: 60
scan_interval: 12
new_device_defaults:
track_new_devices: false
hosts:
mattias_iphonedetect: !secret iphonedetect_matte
sanja_iphonedetect: !secret iphonedetect_sanja
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_2_power_state
power_sensor_restore_state: true
influxdb:
api_version: 2
ssl: false
host: !secret influxdb_host
port: !secret influxdb_port
organization: !secret influxdb_org
token: !secret influxdb_token
bucket: retention
include:
entities:
- sensor.tibber_daily_consumption
- 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
browser_mod:
timer:
laundry:
duration: 01:00:00
icon: mdi:washing-machine
ios:
push:
categories:
- name: Home Assistant
identifier: ios_hass
actions:
- identifier: start_watchtower
title: Uppdatera
notify:
- platform: file
name: vacuum_last_cleaned
filename: vacuum_last_cleaned.txt
timestamp: true
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