· 7 years ago · Jul 01, 2018, 08:02 PM
1homeassistant:
2 # Name of the location where Home Assistant is running
3 name: Home
4 # Location required to calculate the time the sun rises and sets
5 latitude: 53.9
6 longitude: 27.5667
7 # Impacts weather/sunrise data (altitude above sea level in meters)
8 elevation: 220
9 # metric for Metric, imperial for Imperial
10 unit_system: metric
11 # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
12 time_zone: Europe/Minsk
13 # Customization file
14 customize: !include customize.yaml
15
16# Show links to resources in log and frontend
17introduction:
18
19# Enables the frontend
20frontend:
21
22# Enables configuration UI
23config:
24
25http:
26 # Secrets are defined in the file secrets.yaml
27 # api_password: !secret http_password
28 # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
29 # base_url: example.duckdns.org:8123
30
31# Checks for available updates
32# Note: This component will send some information about your system to
33# the developers to assist with development of Home Assistant.
34# For more information, please see:
35# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
36updater:
37 # Optional, allows Home Assistant developers to focus on popular components.
38 # include_used_components: true
39
40# Discover some devices automatically
41discovery:
42
43# Allows you to issue voice commands from the frontend in enabled browsers
44conversation:
45
46# Enables support for tracking state changes over time
47history:
48
49# View all events in a logbook
50logbook:
51
52# Enables a map showing the location of tracked devices
53map:
54
55# Track the sun
56sun:
57
58# Weather prediction
59sensor:
60 - platform: yr
61
62# Text to speech
63tts:
64 - platform: google
65
66# Cloud
67cloud:
68
69group: !include groups.yaml
70automation: !include automations.yaml
71script: !include scripts.yaml
72
73panel_iframe:
74 configurator:
75 title: Configurator
76 icon: mdi:wrench
77 url: http://hassio.local:3218
78
79netatmo:
80 api_key: 5b3876d1ae4763b4ec8b4f35
81 secret_key: Az5EqzP7eegOyKAXzECAWspvWFN
82 username: victor@korolchik.com
83 password: korolchik80
84
85telegram_bot:
86 - platform: polling
87 api_key: 616053721:AAF79kTPEX-RC7e7PUV1M7fROH4-duUNRas
88 allowed_chat_ids:
89 - 4896255
90notify:
91 - name: telegram_notify
92 platform: telegram
93 chat_id: 4896255
94
95device_tracker:
96 - platform: nmap_tracker
97 hosts: 192.168.98.0/24
98 home_interval: 1
99 exclude:
100 - 192.168.1.1
101
102automation Welcome:
103 trigger:
104 platform: state
105 entity_id: device_tracker.30074d087a21
106 from: 'not_home'
107 to: 'home'
108 action:
109 service: notify.telegram_notify
110 data:
111 message: 'Person is now home'