v2.3.7
v2.3.7
Summary
This release improves the reliability of the release process by adding automated validation before a GitHub release is published. It also includes manual cleanup of duplicate YAML keys that were previously present in the theme files.
Going forward, duplicate YAML keys and formatting issues should be caught by the GitHub Actions workflow before a release is created. If validation fails, the release workflow will stop and the release will not be published until the issue is corrected.
Changes
Added
- Added a GitHub Actions release validation workflow.
- Added YAML syntax validation as part of the release process.
- Added duplicate YAML key detection.
- Added formatting checks to help keep the theme files consistent.
- Added a release gate so GitHub releases are only published after validation succeeds.
Fixed
- Manually removed duplicate YAML keys from the theme files.
- Cleaned up theme definitions to reduce the chance of Home Assistant loading conflicting or duplicated values.
- Improved release safety by preventing invalid YAML from being published as a release.
Release Validation
The release workflow now validates the theme files before publishing a GitHub release.
The validation process checks for:
- YAML syntax errors
- duplicate keys in the YAML tree
- formatting issues
If any of these checks fail, the release will stop before publishing. This should help prevent broken or inconsistent theme YAML from being shipped in future releases.
Important Upgrade Notes
If you are experiencing issues with the theme, please ensure that you are not still using an old version of the theme.
A recent change combined the previous separate theme variants into two individual theme files:
nordic.yaml
nordic-blue.yaml
When selecting your theme in Home Assistant, make sure you are selecting one of the following theme names:
nordic
nordic-blue
Then select the associated light or dark mode from Home Assistant.
Theme Directory Cleanup
You may also need to clean up old theme variant files from your Home Assistant theme directory.
Navigate to:
/config/themes/nordic
You can safely remove the old split variant files:
nordic-dark.yaml
nordic-light.yaml
nordic-blue-dark.yaml
nordic-blue-light.yaml
These files are no longer required now that the themes have been consolidated into:
nordic.yaml
nordic-blue.yaml
Breaking Changes
No breaking changes are expected if you are using the current consolidated theme files.
However, users who still have the old split theme files installed may see duplicate or outdated theme entries in Home Assistant. Removing the old files listed above should resolve that.
Upgrade Instructions
-
Update the theme through HACS or manually replace the theme files.
-
Confirm that the following files exist in your theme directory:
nordic.yaml nordic-blue.yaml -
Remove the old variant files if they are still present:
nordic-dark.yaml nordic-light.yaml nordic-blue-dark.yaml nordic-blue-light.yaml -
Restart Home Assistant or reload themes.
-
Select either:
nordic nordic-blue -
Choose the associated light or dark mode from Home Assistant.
Known Issues
None currently known.