home-automation/configuration.yaml

209 lines
4.5 KiB
YAML

# Setup basic Home Assistant information
homeassistant:
name: !secret zone_home_name
latitude: !secret zone_home_latitude
longitude: !secret zone_home_longitude
elevation: !secret zone_home_elevation
unit_system: imperial # metric
time_zone: !secret homeassistant_time_zone
customize_domain: {}
customize_glob: {}
whitelist_external_dirs:
- !secret homeassistant_whitelist_config
# Database recorder
recorder:
db_url: !secret recorder_db_url
purge_keep_days: 90
purge_interval: 1
# Log some details
logger:
default: warning
logs:
homeassistant.components.device_tracker.unifi: fatal # When Unifi Controller is temporarily unreachable.
pyunifi.controller: error # When Unifi Controller is temporarily unreachable.
# Check for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# Optionally allow Home Assistant developers to focus on popular components.
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
# https://home-assistant.io/components/updater/
updater:
include_used_components: true
# MQTT Integration
# https://home-assistant.io/components/mqtt/
#mqtt:
# broker: !secret mqtt_broker
# port: !secret mqtt_port
# username: !secret mqtt_username
# password: !secret mqtt_password
# birth_message:
# topic: 'hass/status'
# payload: 'online'
# will_message:
# topic: 'hass/status'
# payload: 'offline'
# ZWave integration
# https://home-assistant.io/docs/z-wave/adding/
# https://home-assistant.io/docs/z-wave/
# https://home-assistant.io/components/zwave/
#zwave:
# usb_path: /dev/ttyACM0
# network_key: !secret zwave_network_key
# Enable the web server
# `cors_allowed_origins` includes the domain:port for AppDaemon.
# https://home-assistant.io/components/http/
http:
api_password: !secret http_password
base_url: !secret http_base_url
# Enable the official UI
# https://home-assistant.io/components/frontend/
frontend:
# javascript_version: latest
# extra_html_url:
# - /local/custom_ui/state-card-custom-ui.html
# - /local/custom_ui/state-card-hline.html
# - /local/custom_ui/state-card-value_only.html
# extra_html_url_es5:
# - /local/custom_ui/state-card-custom-ui-es5.html
# - /local/custom_ui/state-card-hline.html
# - /local/custom_ui/state-card-value_only.html
# themes: !include_dir_named themes/
# Enable the UI customizer
# https://github.com/andrey-git/home-assistant-customizer
#customizer:
# custom_ui: local
# Notification services
# https://home-assistant.io/components/notify/
#notify: !include_dir_merge_list notifications/
# Enables Default Home Assistant Components
default_config:
# Enables Person Component
person:
# Combine entities into groups and organize UI
group: !include_dir_merge_named groups/
# Zones
zone: !include zones.yaml
# Variables
# @see /custom_components/variable.py
# https://github.com/rogro82/hass-variables
#variable: !include misc/variables.yaml
# Counters
# https://www.home-assistant.io/components/counter/
#counter: !include misc/counters.yaml
# Input booleans
# https://home-assistant.io/components/input_boolean/
#input_boolean: !include misc/input_booleans.yaml
# Lists of selectable values
# https://home-assistant.io/components/input_select/
#input_select: !include misc/input_selects.yaml
# Enables System Health
system_health:
# Enable the configuration UI
config:
# Enable support for tracking state changes over time
history:
# View all events in a logbook
logbook:
exclude:
entities:
- sensor.uptime
- sensor.time
- sensor.date
- sensor.date_time
- sensor.date_time_iso
- sensor.time_date
- sensor.time_utc
- sensor.beat
- sensor.pcf8523
# Scenes
# https://home-assistant.io/components/scene/
#scene: !include misc/scenes.yaml
# Discover some devices automatically
discovery:
ignore:
- google_cast
- harmony
# Device Trackers
device_tracker: !include_dir_merge_list device_trackers/
# Cameras
camera: !include_dir_merge_list cameras/
# Displays
# @see /custom_components/display/
# https://github.com/daemondazz/homeassistant-displays
#display: !include misc/displays.yaml
# Sensors
sensor: !include_dir_merge_list sensors/
# Switches
switch: !include_dir_merge_list switches/
# Track the sun
sun:
# Cameras
# https://home-assistant.io/components/camera/
#camera: !include_dir_merge_list cameras/
# Media Devices
cast: !include media/cast.yaml
# Remotes
remote: !secret remotes