Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Bluefox
2026-05-16 19:49:12 +02:00
committed by GitHub
co-authored by Copilot Autofix powered by AI
parent 5f57a27ff6
commit 7dd63fa9c8
+1 -1
View File
@@ -797,7 +797,7 @@ class HassAdapter extends Adapter {
const rawPatterns = (this.config.excludePatterns || '').toString();
this.excludePatterns = rawPatterns
.split('\n')
.split(/\r?\n/)
.map(s => s.trim())
.filter(line => line.length > 0 && !line.startsWith('#'));