audi_connect_ha icon indicating copy to clipboard operation
audi_connect_ha copied to clipboard

fix: Logging: Redact Email Address & Easy (Un)Redact

Open coreywillwhat opened this issue 1 year ago • 2 comments

  • Redacts email address in the logs for initial setup and options flow handler.
  • Also simplifies the process for controlling log redaction. Users can now toggle log redaction by setting REDACT_LOGS in const.py to False and restart Home Assistant. To enable redaction again, simply set REDACT_LOGS back to True and restart Home Assistant.

coreywillwhat avatar Apr 27 '24 20:04 coreywillwhat

Cool would be to add it in the https://developers.home-assistant.io/docs/config_entries_options_flow_handler to be able to dis/-enable it without manually changing files.

Kolbi avatar Apr 29 '24 04:04 Kolbi

Good idea. I can work on that. Luckily all the work in this PR is needed anyway for that. Marking as draft for now while I put it together.

Edit: or I will when I can get to a computer. Treat this as draft for now.

coreywillwhat avatar Apr 29 '24 06:04 coreywillwhat