Add initial configuration files for Home Assistant setup

- Created automations.yaml, configuration.yaml, scenes.yaml, scripts.yaml, and secrets.yaml.
- configuration.yaml includes default integrations, HTTP server settings, recorder configuration, frontend theme loading, and includes for automations, scripts, and scenes.
- secrets.yaml contains a PostgreSQL connection string for database access.
This commit is contained in:
Ben Melchior
2025-03-22 16:28:17 +01:00
commit 3805a39877
5 changed files with 37 additions and 0 deletions

32
configuration.yaml Normal file
View File

@@ -0,0 +1,32 @@
# Loads default set of integrations. Do not remove.
default_config:
http:
server_port: 443
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
recorder:
db_url: !secret psql_string
db_retry_wait: 15 # Wait 15 seconds before retrying
exclude:
domains:
- automation
- updater
entity_globs:
- sensor.weather_*
entities:
- sun.sun # Don't record sun data
- sensor.last_boot # Comes from 'systemmonitor' sensor platform
- sensor.date
event_types:
- call_service # Don't record service calls
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml