File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9494 cat > config/configuration.yaml <<'YAML'
9595 logger:
9696 default: info
97- # If your integration has YAML setup, keep this to make sure it's imported.
98- uk_bin_collection: {}
9997 YAML
10098
10199 - name : Boot Home Assistant headless and check logs
@@ -124,16 +122,16 @@ jobs:
124122 echo "✅ HA reports: $INIT_MARKER"
125123 break
126124 fi
127- # bail early if we see a fatal traceback or ERROR from our domain
128- if grep -Eiq 'Traceback|CRITICAL|Fatal error|ERROR.*(uk_bin_collection|custom_components\.uk_bin_collection)' config/home-assistant.log; then
129- echo "❌ Error detected in log during startup"
130- FAIL=1
131- break
132- fi
133125 sleep 1
134126 SECS=$((SECS+1))
135127 done
136128
129+ # After boot completes, check for errors in our component
130+ if grep -Eq "Setup failed for custom integration 'uk_bin_collection'" config/home-assistant.log; then
131+ echo "❌ Custom component failed to load"
132+ FAIL=1
133+ fi
134+
137135 # If timeout and no init marker, flag failure
138136 if (( SECS >= TIMEOUT )) && ! grep -q "$INIT_MARKER" config/home-assistant.log; then
139137 echo "❌ HA did not finish booting within ${TIMEOUT}s"
You can’t perform that action at this time.
0 commit comments