131 lines
2.6 KiB
YAML
131 lines
2.6 KiB
YAML
---
|
|
# Main Home Assistant Configuration
|
|
|
|
homeassistant:
|
|
name: Home
|
|
|
|
# Location and Time Zone
|
|
latitude: !secret home_latitude # dummy: 0.0
|
|
longitude: !secret home_longitude # dummy: 0.0
|
|
elevation: 10 # meters, WGS84
|
|
time_zone: America/Los_Angeles
|
|
|
|
# Measurement System
|
|
unit_system: imperial
|
|
currency: USD
|
|
|
|
# URL and Access Control
|
|
internal_url: !secret http_internal_url
|
|
external_url: !secret http_external_url
|
|
auth_mfa_modules:
|
|
- type: totp
|
|
auth_providers:
|
|
- type: homeassistant
|
|
- type: trusted_networks
|
|
trusted_networks:
|
|
- 127.0.0.1
|
|
- !secret lan_net_ip4
|
|
- !secret tablet_net_ip4
|
|
|
|
# Customization and Packages
|
|
customize: !include include/customize.yaml
|
|
packages: !include_dir_named packages
|
|
|
|
# HTTP Access
|
|
http:
|
|
ip_ban_enabled: true
|
|
login_attempts_threshold: 3
|
|
use_x_forwarded_for: true
|
|
trusted_proxies:
|
|
- !secret proxy_ip4
|
|
- !secret proxy_ip6
|
|
- !secret gateway_ip4
|
|
|
|
# Configure Lovelace/Dashboards for YAML Configuration
|
|
lovelace:
|
|
mode: yaml
|
|
resources: !include lovelace/resources.yaml
|
|
dashboards: !include lovelace/dashboards.yaml
|
|
|
|
# MQTT Broker Connection
|
|
mqtt:
|
|
broker: mqtt.ha.kraussnet.com
|
|
port: 8883
|
|
username: !secret mqtt_username
|
|
password: !secret mqtt_password
|
|
certificate: /config/network-ca-chain.pem
|
|
discovery: true
|
|
birth_message:
|
|
topic: 'hass/status'
|
|
payload: 'online'
|
|
will_message:
|
|
topic: 'hass/status'
|
|
payload: 'offline'
|
|
|
|
# Configure Logging
|
|
logger:
|
|
default: info
|
|
|
|
###############################################################################
|
|
# Customize Default Integrations
|
|
#
|
|
# Not Enabled:
|
|
# - cloud
|
|
# - mobile_app
|
|
###############################################################################
|
|
|
|
# Automation File for Configuration UI
|
|
automation:
|
|
|
|
# Enable the Configuration UI
|
|
config:
|
|
|
|
# Enable the Front End
|
|
frontend:
|
|
|
|
# Add Themes
|
|
themes: !include_dir_merge_named themes
|
|
|
|
# Configure FontAwesome Icons
|
|
fontawesome:
|
|
regular:
|
|
solid:
|
|
|
|
# Enables support for tracking state changes over time
|
|
history:
|
|
|
|
# View all events in a logbook
|
|
logbook:
|
|
|
|
# Enables a map showing the location of tracked devices
|
|
map:
|
|
|
|
# Enable Person entities for device tracker grouping
|
|
# NOTE: See declaration in Presence package
|
|
#person:
|
|
|
|
# Record events to a database
|
|
recorder:
|
|
|
|
# Enable support for Simple Service Discovery Protocol
|
|
# Used by Philips Hue (disable if moving to Zigbee)
|
|
ssdp:
|
|
|
|
# Track the sun
|
|
sun:
|
|
|
|
# System Health monitor
|
|
system_health:
|
|
|
|
# Checks for Updates
|
|
updater:
|
|
|
|
# Enable UPnP/Zeroconf Service Discovery and Advertising
|
|
zeroconf:
|
|
|
|
# Discover some devices automatically
|
|
discovery:
|
|
|
|
# Setup Zones
|
|
zone: !include include/zones.yaml
|