home-assistant-configuration/config/configuration.yaml

104 lines
2.5 KiB
YAML
Raw Normal View History

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
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
disney: /media/disney
books: /media/books
2021-05-24 15:49:17 +00:00
images: /media/images
2020-03-18 02:49:51 +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
ssdp:
zeroconf:
system_health:
mobile_app:
person:
frontend:
themes: !include_dir_merge_named themes
cloud:
conversation:
device_tracker:
- platform: eero_tracker
consider_home: 300
interval_seconds: 60
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
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
updater:
include_used_components: true
sun:
python_script:
map:
2020-04-24 18:44:43 +00:00
group: !include groups.yaml
### Includes ###
alert: !include_dir_merge_named alerts/
automation: !include automations.yaml
script: !include scripts.yaml
sensor: !include_dir_merge_list sensors
binary_sensor: !include_dir_merge_list binary_sensors
# light: !include lights.yaml
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
shell_command:
google_token: sed -i -e 's/2client.client"}2client.client"}/2client.client"}/g' /config/.google.token