audi_connect_ha
audi_connect_ha copied to clipboard
fix: Logging: Redact Email Address & Easy (Un)Redact
- 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_LOGSinconst.pytoFalseand restart Home Assistant. To enable redaction again, simply setREDACT_LOGSback toTrueand restart Home Assistant.
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.
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.