nix/config/homeassistant/configuration.yaml
2025-09-11 18:24:28 +02:00

50 lines
1.3 KiB
YAML

# Home Assistant Main Configuration
# This configuration is used by the Home Assistant container
# Documentation: https://www.home-assistant.io/docs/configuration/
# HTTP configuration for reverse proxy (Traefik)
http:
# Enable X-Forwarded-For header support for reverse proxy
use_x_forwarded_for: true
# Trust these proxies to set the X-Forwarded-For header
trusted_proxies:
- 127.0.0.1 # Local Traefik proxy
- ::1 # IPv6 localhost
- 10.2.2.1 # VPS proxy (via WireGuard)
# Loads default set of integrations. Do not remove.
# This includes: sun, mobile_app, met, radio_browser, etc.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
# Input number helpers for light presets
input_number:
living_room_light_preset:
name: Living Room Light Preset
initial: 2
min: 1
max: 4
step: 1
mode: box
bedroom_ceiling_light_preset:
name: Bedroom Ceiling Light Preset
initial: 0
min: 0
max: 4
step: 1
mode: box
bedroom_bed_light_preset:
name: Bedroom Bed Light Preset
initial: 0
min: 0
max: 4
step: 1
mode: box
# External configuration files
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml