home-assistant: fix initial config - remove !include directives
The !include directives for automations/scripts/scenes reference files that don't exist on fresh install, causing HA to enter recovery mode which ignores trusted_proxies. Simplified to minimal config with just default_config and http block - HA adds the rest during onboarding. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -22,11 +22,6 @@ services:
|
||||
elif [ ! -f "$$CFG" ]; then
|
||||
cat > "$$CFG" << 'HACFG'
|
||||
default_config:
|
||||
frontend:
|
||||
themes: !include_dir_merge_named themes
|
||||
automation: !include automations.yaml
|
||||
script: !include scripts.yaml
|
||||
scene: !include scenes.yaml
|
||||
http:
|
||||
use_x_forwarded_for: true
|
||||
trusted_proxies:
|
||||
|
||||
Reference in New Issue
Block a user