Repository navigation
chore: release 2.1.1 with diagnostics privacy fixes and local brand assets - #35
Merged
Merged
Conversation
Key-based redaction missed values that the integration repeats inside free-form text and derived sections: the entry title and coordinator name carry the last six MAC characters, exception messages and failure details embed the IP address and MAC, and the mapped cell serial number was exported in clear text. Add value scrubbing to the shared redaction helpers and run every diagnostics section through it, so known IPs, MACs, serials and passwords are removed wherever they appear. Also redact the timezone, which reveals rough location.
Ship the brand images inside the integration (custom_components/ poolsync_custom/brand), which is where Home Assistant and the HACS brand check look for them, and drop the now-unneeded `ignore: brands` from the HACS validation workflow so the listing check runs for real. Add the pool/spa category to the manifest and bump the version.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Prepares the 2.1.1 release, which closes the remaining gaps for the HACS default repository submission.
Diagnostics privacy fix
Key-based redaction only removed keys that appeared verbatim, so identifiers the integration repeats elsewhere still shipped in clear text:
config_entry.unique_idconfig_entry.title,device.namecoordinator.name->poolsync_custom(<MAC>)coordinator.last_exception,last_failure_detailmapped_sensor_values["chlorinator_N_cell_serial_number"]-- the derived sections were never redactedpoolSync.config.timeZoneFixes:
redact.pygainscollect_sensitive_values()andredact_values()for value-based scrubbing; key-based redaction structurally cannot reach a MAC embedded in an exception string.diagnostics.pynow runs every section through a final_redact()pass (previously onlyconfig_entryandruntime_data), and collects sensitive values from the raw entry/coordinator payload rather than the already partly redacted result.Deliberately not redacted: equipment/group/valve names, schedules, RSSI, reset counters, uptime, firmware and model numbers. These are the signals the diagnostics exist to capture and carry no personal identifiers.
Brand assets moved in-repo
Images moved to
custom_components/poolsync_custom/brand/, where Home Assistant's brands component and the HACSbrandscheck look for them. Content is byte-identical to what is served frombrands.home-assistant.io.ignore: brandsis removed from the HACS validation workflow so the check now actually runs.Categories
Adds
categories: ["water.pools_spas"]to the manifest -- matches core'sscreenlogicand is present in the list HACS validates against (INTEGRATION_CATEGORIES).Version
2.1.1 in
manifest.json,pyproject.toml, and the README release example.Testing
./utils/run_tests.sh-- 457 passed./utils/quick_lint.sh-- cleanRelease
Merge, then tag and push so
release.ymlbuildspoolsync_custom.zipfor HACS: