Compare commits

...
4 Commits
Author SHA1 Message Date
Brian Bjarke Jensen c49355c29e tried different shell variable
Validate Home Assistant Configuration / YAML Lint (push) Successful in 9s
Validate Home Assistant Configuration / Home Assistant Config Check (push) Failing after 21s
Validate Home Assistant Configuration / Validate Entity IDs (push) Failing after 17s
Validate Home Assistant Configuration / Validate Device IDs (push) Failing after 17s
Validate Home Assistant Configuration / YAML Lint (pull_request) Successful in 8s
Validate Home Assistant Configuration / Home Assistant Config Check (pull_request) Failing after 21s
Validate Home Assistant Configuration / Validate Entity IDs (pull_request) Failing after 17s
Validate Home Assistant Configuration / Validate Device IDs (pull_request) Failing after 16s
2026-02-02 21:46:03 +01:00
Brian Bjarke Jensen 45cfa79ab6 added debug step
Validate Home Assistant Configuration / YAML Lint (push) Successful in 8s
Validate Home Assistant Configuration / Home Assistant Config Check (push) Failing after 19s
Validate Home Assistant Configuration / Validate Entity IDs (push) Failing after 17s
Validate Home Assistant Configuration / Validate Device IDs (push) Failing after 17s
Validate Home Assistant Configuration / YAML Lint (pull_request) Successful in 8s
Validate Home Assistant Configuration / Home Assistant Config Check (pull_request) Failing after 20s
Validate Home Assistant Configuration / Validate Entity IDs (pull_request) Failing after 18s
Validate Home Assistant Configuration / Validate Device IDs (pull_request) Failing after 16s
2026-02-02 21:44:12 +01:00
Brian Bjarke Jensen 7d83f5517b fixed HA config validation
Validate Home Assistant Configuration / YAML Lint (push) Successful in 8s
Validate Home Assistant Configuration / Home Assistant Config Check (push) Failing after 21s
Validate Home Assistant Configuration / Validate Entity IDs (push) Failing after 17s
Validate Home Assistant Configuration / Validate Device IDs (push) Failing after 17s
Validate Home Assistant Configuration / YAML Lint (pull_request) Successful in 9s
Validate Home Assistant Configuration / Home Assistant Config Check (pull_request) Failing after 20s
Validate Home Assistant Configuration / Validate Entity IDs (pull_request) Failing after 17s
Validate Home Assistant Configuration / Validate Device IDs (pull_request) Failing after 16s
2026-02-02 21:41:59 +01:00
Brian Bjarke Jensen b2fb7ce91f yamllint fixes
Validate Home Assistant Configuration / Validate Device IDs (push) Failing after 16s
Validate Home Assistant Configuration / YAML Lint (pull_request) Successful in 8s
Validate Home Assistant Configuration / Home Assistant Config Check (pull_request) Failing after 20s
Validate Home Assistant Configuration / Validate Entity IDs (pull_request) Failing after 18s
Validate Home Assistant Configuration / Validate Device IDs (pull_request) Failing after 16s
Validate Home Assistant Configuration / YAML Lint (push) Successful in 9s
Validate Home Assistant Configuration / Home Assistant Config Check (push) Failing after 20s
Validate Home Assistant Configuration / Validate Entity IDs (push) Failing after 17s
2026-02-02 21:35:48 +01:00
3 changed files with 36 additions and 6 deletions
+9 -2
View File
@@ -74,12 +74,19 @@ jobs:
print("✓ Generated secrets.yaml") print("✓ Generated secrets.yaml")
EOF EOF
- name: Debug - List config files
run: |
echo "Current directory: $(pwd)"
echo "Config directory contents:"
ls -la config/
- name: Validate HA Config with Docker - name: Validate HA Config with Docker
run: | run: |
docker run --rm \ docker run --rm \
-v $(pwd)/config:/config \ -v "$PWD/config":/config \
-w /config \
homeassistant/home-assistant:latest \ homeassistant/home-assistant:latest \
python -m homeassistant --script check_config -c /config python -m homeassistant --script check_config --config /config
validate-entities: validate-entities:
name: Validate Entity IDs name: Validate Entity IDs
+26 -2
View File
@@ -9,12 +9,22 @@ rules:
# Allow indentation to be flexible for Home Assistant configs # Allow indentation to be flexible for Home Assistant configs
indentation: indentation:
spaces: 2 spaces: consistent
indent-sequences: true indent-sequences: whatever
check-multi-line-strings: false
# Allow comments at various positions # Allow comments at various positions
comments: comments:
min-spaces-from-content: 1 min-spaces-from-content: 1
level: warning
# Allow comment indentation flexibility
comments-indentation: disable
# Allow empty lines
empty-lines:
max: 2
level: warning
# Allow empty values (common in HA configs) # Allow empty values (common in HA configs)
empty-values: empty-values:
@@ -28,6 +38,7 @@ rules:
# Relax truthy checks for on/off (common in HA) # Relax truthy checks for on/off (common in HA)
truthy: truthy:
allowed-values: ['true', 'false', 'yes', 'no', 'on', 'off'] allowed-values: ['true', 'false', 'yes', 'no', 'on', 'off']
check-keys: false
# Allow both flow and block styles # Allow both flow and block styles
braces: braces:
@@ -42,6 +53,19 @@ rules:
quoted-strings: quoted-strings:
quote-type: any quote-type: any
required: false required: false
# Disable document start requirement (HA doesn't use ---)
document-start: disable
# Allow trailing spaces (HA auto-formats may add them)
trailing-spaces: disable
# Allow new line at end of file to be missing
new-line-at-end-of-file: disable
# Relax new lines rules
new-lines:
type: unix
ignore: | ignore: |
.venv/ .venv/
+1 -2
View File
@@ -1,4 +1,3 @@
# Loads default set of integrations. Do not remove. # Loads default set of integrations. Do not remove.
default_config: default_config:
@@ -19,7 +18,7 @@ http:
- 172.30.33.0/24 - 172.30.33.0/24
# Phillps Hue Emulator - for Amazon Echo # Phillps Hue Emulator - for Amazon Echo
#emulated_hue: # emulated_hue:
# listen_port: 80 # listen_port: 80
# Configure Recorder to use PostgreSQL # Configure Recorder to use PostgreSQL