commit 3805a3987768c5cfa952a2484142ee2f9700b2c3 Author: Ben Melchior Date: Sat Mar 22 16:28:17 2025 +0100 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. diff --git a/automations.yaml b/automations.yaml new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/automations.yaml @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/configuration.yaml b/configuration.yaml new file mode 100644 index 0000000..a76787c --- /dev/null +++ b/configuration.yaml @@ -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 diff --git a/scenes.yaml b/scenes.yaml new file mode 100644 index 0000000..e69de29 diff --git a/scripts.yaml b/scripts.yaml new file mode 100644 index 0000000..e69de29 diff --git a/secrets.yaml b/secrets.yaml new file mode 100644 index 0000000..587a2aa --- /dev/null +++ b/secrets.yaml @@ -0,0 +1,4 @@ + +# Use this file to store secrets like usernames and passwords. +# Learn more at https://www.home-assistant.io/docs/configuration/secrets/ +psql_string: postgresql://hass:FTXZ9r8iw0fTT655Q6tePTzp@synology.cobe.space:5433/hass