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:
1
automations.yaml
Normal file
1
automations.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
[]
|
||||||
32
configuration.yaml
Normal file
32
configuration.yaml
Normal 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
|
||||||
0
scenes.yaml
Normal file
0
scenes.yaml
Normal file
0
scripts.yaml
Normal file
0
scripts.yaml
Normal file
4
secrets.yaml
Normal file
4
secrets.yaml
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user