When enabled, on each adapter start the adapter scans all existing hass.0.entities.* channels and deletes those whose entity_id matches any of the configured excludePatterns. This complements the existing filter (which only prevents new objects from being created) by also cleaning up objects that were synced before the filter was activated or before the patterns were extended. Safety: - Channels (and any of their sub-states) holding common.custom config (history/influxdb/sql) are kept and a warning is logged so the user can decide manually. - Existing deleteStaleObjects() 50% sanity-guard is intentionally NOT applied here — the user explicitly opted in to the cleanup. - Per-id deletion only logs when verboseFilterLog is also active. Default is false (opt-in). Adds new admin checkbox + i18n keys for all 11 languages (machine translations for non-en/de still pending).
15 lines
1.3 KiB
JSON
15 lines
1.3 KiB
JSON
{
|
|
"Home assistant IP": "Home assistant IP",
|
|
"Home assistant WS Port": "Home assistant WS Port",
|
|
"Password repeat": "Password repeat",
|
|
"Password": "Password",
|
|
"Passwords missmatch!": "Passwords missmatch!",
|
|
"Secure": "HTTPS?",
|
|
"Exclude patterns (one per line)": "Exclude patterns (one per line)",
|
|
"Glob patterns, * wildcard. Lines starting with # are comments. Empty = filter off.": "Glob patterns, * wildcard. Lines starting with # are comments. Empty = filter off.",
|
|
"Verbose filter logging": "Verbose filter logging",
|
|
"When enabled, log each excluded entity_id individually during the initial adapter sync (requires loglevel info or debug).": "When enabled, log each excluded entity_id individually during the initial adapter sync (requires loglevel info or debug).",
|
|
"Cleanup excluded entities on adapter start": "Cleanup excluded entities on adapter start",
|
|
"When enabled, on each adapter start delete existing objects under entities.* whose entity_id matches the exclude patterns. Objects with custom adapter config (history/influxdb/sql) are kept and logged.": "When enabled, on each adapter start delete existing objects under entities.* whose entity_id matches the exclude patterns. Objects with custom adapter config (history/influxdb/sql) are kept and logged."
|
|
}
|