feat(filter): add verbose filter logging option
New `verboseFilterLog` boolean (default `false`). When enabled, the initial sync logs every excluded entity_id individually on INFO level. This is useful when iterating on exclude patterns or verifying that the filter catches the intended entities. The verbose output is intentionally limited to the first sync. Subsequent debouncedSync() calls only emit the aggregate count to avoid log spam during normal operation. Live `state_changed` events for filtered entities remain on DEBUG. Admin UI gets a checkbox below the patterns field; i18n keys added for all 11 supported languages.
This commit is contained in:
+3
-1
@@ -6,5 +6,7 @@
|
||||
"Passwords missmatch!": "Le password non corrispondono!",
|
||||
"Secure": "HTTPS?",
|
||||
"Exclude patterns (one per line)": "Pattern di esclusione (uno per riga)",
|
||||
"Glob patterns, * wildcard. Lines starting with # are comments. Empty = filter off.": "Pattern glob, * come wildcard. Le righe che iniziano con # sono commenti. Vuoto = filtro disattivato."
|
||||
"Glob patterns, * wildcard. Lines starting with # are comments. Empty = filter off.": "Pattern glob, * come wildcard. Le righe che iniziano con # sono commenti. Vuoto = filtro disattivato.",
|
||||
"Verbose filter logging": "Logging dettagliato del filtro",
|
||||
"When enabled, log each excluded entity_id individually during the initial adapter sync (requires loglevel info or debug).": "Se attivato, registra ogni entity_id escluso individualmente durante la sincronizzazione iniziale dell'adattatore (richiede loglevel info o debug)."
|
||||
}
|
||||
Reference in New Issue
Block a user