· 6 years ago · Mar 15, 2019, 02:08 AM
1homeassistant:
2 # Name of the location where Home Assistant is running
3 name: Casa
4 # Location required to calculate the time the sun rises and sets
5 latitude: !secret
6 longitude: !secret
7 # Impacts weather/sunrise data (altitude above sea level in meters)
8 elevation: 0
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/Rome
13 #Packages
14 #packages: !include_dir_named packages
15 # Customization file
16 customize: !include customize.yaml
17
18# Show links to resources in log and frontend
19introduction:
20
21# Enables the frontend
22frontend:
23 themes: !include themes/midinight2.yaml
24
25
26
27
28
29# Enables configuration UI
30config:
31
32# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
33http:
34 api_password: !secret
35 base_url: !secret
36 ssl_certificate: /ssl/fullchain.pem
37 ssl_key: /ssl/privkey.pem
38
39# Checks for available updates
40# Note: This component will send some information about your system to
41# the developers to assist with development of Home Assistant.
42# For more information, please see:
43# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
44updater:
45 # Optional, allows Home Assistant developers to focus on popular components.
46 # include_used_components: true
47
48tuya:
49 username: +++
50 password: +++
51 country_code: +39
52 platform: tuya
53
54
55
56
57
58
59
60
61# Netatmo
62netatmo:
63 api_key: !secret
64 secret_key: !secret
65 username: !secret
66 password: !secret
67
68weather:
69 - platform: darksky
70 api_key: !secret
71 mode: daily
72
73
74#Tracker
75device_tracker:
76 - platform: google_maps
77 username: +++
78 password: +++
79 max_gps_accuracy: 50
80
81
82
83speedtestdotnet:
84 scan_interval:
85 minutes: 30
86 monitored_conditions:
87 - download
88 - upload
89
90
91# Discover some devices automatically
92discovery:
93
94# Allows you to issue voice commands from the frontend in enabled browsers
95conversation:
96
97# Enables support for tracking state changes over time
98history:
99
100# View all events in a logbook
101logbook:
102
103# Enables a map showing the location of tracked devices
104map:
105
106# Track the sun
107sun:
108
109# Sensors
110sensor:
111 - platform: systemmonitor
112 resources:
113 - type: disk_use_percent
114 arg: /home
115 - type: memory_free
116
117
118#Switch
119switch:
120 - platform: broadlink
121 host: 192.168.1.235
122 mac: '78:0F:77:5A:DE:63'
123
124 - platform: mqtt
125 name: "counter_switch"
126 command_topic: "shellies/shelly1-94265E/input/0/command"
127 state_topic: "shellies/shelly1-94265E/input/0"
128 qos: 1
129 payload_on: "on"
130 payload_off: "off"
131
132 - platform: mqtt
133 name: "counter_lights"
134 command_topic: "shellies/shelly1-94265E/relay/0/command"
135 state_topic: "shellies/shelly1-94265E/relay/0"
136 qos: 1
137 payload_on: "on"
138 payload_off: "off"
139
140climate:
141 - platform: smartir
142 name: Mansarda
143 unique_id: office_ac
144 device_code: 1000
145 controller_send_service: switch.broadlink_send_packet_192_168_1_235
146 temperature_sensor: sensor.temperature
147 humidity_sensor: sensor.humidity
148 power_sensor: binary_sensor.ac_power
149
150
151
152 # Weather prediction
153 - platform: yr
154
155# Text to speech
156tts:
157 - platform: google
158
159# Cloud
160cloud:
161
162group: !include groups.yaml
163automation: !include automations.yaml
164script: !include scripts.yaml