Watchman 0.8.3-rc2
Bug Fixes
- Fix race condition on startup: Resolved an issue where the integration could fail to unload correctly if Home Assistant was still starting up (#237).
- Parser improvements: Refined parser heuristics to address false positives reported in #231.
Optimizations & Changes
- Database optimization: Frequently updated statistics have been moved from the main database to a separate file. This reduces SQLite write operations and improves overall reliability (#232).
- SQLite Journal Mode: Changed database journal mode to TRUNCATE to mitigate potential locking and corruption issues (#232).
- Configuration: The default list of ignored files is now empty for new installations.
I’m excited to present Watchman 0.8! While the integration looks almost identical on the surface, the codebase has undergone a deep internal refactoring. This "under-the-hood" overhaul lays the foundation for much easier maintenance and faster implementation of new features in the future.
- Ignore disabled automations: Added the ability to exclude entities declared in disabled automations and scripts from the report @bwibwi13 (#211).
- Support for HA Labels: You can now use Home Assistant labels to mark entities that should be ignored/excluded from the report @bexelbie (#219). 📌 Tip: The special entity
text.watchman_ignored_labelscan be used in automations to dynamically manage ignored entities (for those who have been asking for this). - View report within Perform Action screen: Report data is now displayed directly in the Perform Action screen, eliminating the need to download files from the config folder.
- Advanced background parsing: Implemented a highly optimized and conservative background parsing mechanism designed to minimize system load, addressing performance issues reported on some setups in v0.8.1.
- Report button: Device info page now has "Report" button for more convenient way to run a report.
- Extended
.storagesupport: The parser now processescore.config_entriesto detect UI-created entities. - Parser rewritten from scratch: The new parser now utilizes standard libraries for loading YAML and JSON files. This ensures a better understanding of configuration file structures (keys/values) and enables full implementation of "automation awareness".
- CLI Parser Version: A CLI version of the parser has been developed. It will allow for more transparent troubleshooting and parsing quality assessment on any configuration files.
⚠️ Note: Despite extensive unit testing, bugs may still occur due to a significant rewrite of the codebase. Please do backup before install the new version.