2019-11-08 17:54:11 +00:00
|
|
|
homeassistant:
|
2020-09-23 14:52:00 +00:00
|
|
|
external_url: !secret ahsl_base_url
|
2021-05-24 15:49:17 +00:00
|
|
|
internal_url: http://192.168.7.187:8123
|
2019-11-08 17:54:11 +00:00
|
|
|
customize: !include customize.yaml
|
|
|
|
auth_providers:
|
|
|
|
- type: homeassistant
|
|
|
|
packages: !include_dir_named packages
|
2020-09-23 14:52:00 +00:00
|
|
|
media_dirs:
|
|
|
|
haunted_sounds: /media/haunted_sounds
|
|
|
|
music: /media/music
|
|
|
|
sounds: /media/sounds
|
2020-09-23 17:07:20 +00:00
|
|
|
disney: /media/disney
|
|
|
|
books: /media/books
|
2021-05-24 15:49:17 +00:00
|
|
|
images: /media/images
|
2019-11-08 17:54:11 +00:00
|
|
|
|
2020-03-18 02:49:51 +00:00
|
|
|
|
2019-11-08 17:54:11 +00:00
|
|
|
# Configure a default setup of Home Assistant (frontend, api, etc)
|
|
|
|
default_config:
|
|
|
|
|
|
|
|
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
|
|
|
|
http:
|
2021-05-24 15:49:17 +00:00
|
|
|
# ssl_certificate: !secret ahsl_ssl_cert
|
|
|
|
# ssl_key: !secret ahsl_ssl_key
|
2020-04-27 00:31:41 +00:00
|
|
|
use_x_forwarded_for: true
|
2021-08-04 19:50:08 +00:00
|
|
|
trusted_proxies: !secret proxy_ips
|
2021-08-28 19:52:42 +00:00
|
|
|
ip_ban_enabled: false
|
2020-04-27 00:31:41 +00:00
|
|
|
login_attempts_threshold: 5
|
2019-11-08 17:54:11 +00:00
|
|
|
|
|
|
|
ssdp:
|
|
|
|
|
|
|
|
zeroconf:
|
|
|
|
|
|
|
|
system_health:
|
|
|
|
|
|
|
|
mobile_app:
|
|
|
|
|
|
|
|
person:
|
|
|
|
|
|
|
|
frontend:
|
|
|
|
themes: !include_dir_merge_named themes
|
|
|
|
|
|
|
|
cloud:
|
|
|
|
|
|
|
|
conversation:
|
|
|
|
|
|
|
|
device_tracker:
|
2020-08-22 03:44:13 +00:00
|
|
|
- platform: eero_tracker
|
|
|
|
consider_home: 300
|
|
|
|
interval_seconds: 60
|
2021-08-15 20:46:22 +00:00
|
|
|
only_macs: "68:54:fd:29:20:87, 68:54:fd:d5:ae:3d, 50:dc:e7:5b:10:69, 2c:cc:44:bf:9b:b4, 28:18:78:74:79:10, 44:61:32:f8:c8:09, 64:cf:d9:3c:5d:0c, 50:02:91:ed:2c:47, ec:71:db:31:0e:6c, 4e:6d:02:24:ac:87, 7c:1c:4e:2e:62:30"
|
2021-08-04 19:50:08 +00:00
|
|
|
# - platform: icloud3
|
|
|
|
# username: !secret ICLOUD_USER
|
|
|
|
# password: !secret ICLOUD_PASS
|
2019-11-08 17:54:11 +00:00
|
|
|
|
|
|
|
discovery:
|
2020-05-28 18:33:30 +00:00
|
|
|
|
2021-08-04 19:50:08 +00:00
|
|
|
template:
|
|
|
|
- binary_sensor:
|
|
|
|
- name: "Kat Driving"
|
|
|
|
state: >
|
|
|
|
{{ state_attr('device_tracker.life360_kat_stone', 'speed') | int > 0 }}
|
|
|
|
- binary_sensor:
|
|
|
|
- name: "Jeff Driving"
|
|
|
|
state: >
|
|
|
|
{{ state_attr('device_tracker.life360_jeff_stone', 'speed') | int > 0 }}
|
|
|
|
- trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: sensor.recent_lighting_strikes
|
|
|
|
binary_sensor:
|
|
|
|
- name: lightning_detected
|
|
|
|
unique_id: lightning_detected_sensor
|
2021-08-28 19:52:42 +00:00
|
|
|
state: >
|
|
|
|
{{ states('sensor.recent_lightning_strikes') | int > 0 }}
|
2021-08-04 19:50:08 +00:00
|
|
|
device_class: safety
|
2019-11-08 17:54:11 +00:00
|
|
|
|
|
|
|
updater:
|
|
|
|
include_used_components: true
|
|
|
|
|
|
|
|
sun:
|
|
|
|
|
|
|
|
python_script:
|
|
|
|
|
|
|
|
map:
|
|
|
|
|
2020-04-24 18:44:43 +00:00
|
|
|
|
2019-11-08 17:54:11 +00:00
|
|
|
group: !include groups.yaml
|
|
|
|
|
|
|
|
|
|
|
|
### Includes ###
|
|
|
|
alert: !include_dir_merge_named alerts/
|
|
|
|
automation: !include automations.yaml
|
2020-10-05 16:04:04 +00:00
|
|
|
script: !include scripts.yaml
|
2019-11-08 17:54:11 +00:00
|
|
|
sensor: !include_dir_merge_list sensors
|
2021-01-25 03:13:58 +00:00
|
|
|
binary_sensor: !include_dir_merge_list binary_sensors
|
2021-01-19 01:51:37 +00:00
|
|
|
# light: !include lights.yaml
|
2019-11-08 17:54:11 +00:00
|
|
|
switch: !include switches.yaml
|
|
|
|
scene: !include scenes.yaml
|
|
|
|
input_select: !include input_select.yaml
|
|
|
|
input_boolean: !include input_boolean.yaml
|
|
|
|
input_datetime: !include input_datetime.yaml
|
|
|
|
zone: !include zones.yaml
|
2020-08-22 03:44:13 +00:00
|
|
|
|
|
|
|
shell_command:
|
2020-11-28 01:46:57 +00:00
|
|
|
google_token: sed -i -e 's/2client.client"}2client.client"}/2client.client"}/g' /config/.google.token
|