Browse Source

filter "home-assistant-config-entries": also remove esphome noise psk

ESPHome stores the device's API encryption key as data.noise_psk.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fabian Peter Hammerle 1 week ago
parent
commit
e7f4ae09e5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gitconfig

+ 1 - 1
gitconfig

@@ -48,7 +48,7 @@
 	required = true
 
 [filter "home-assistant-config-entries"]
-	clean = jq '.data.entries[].data |= with_entries(if (.key | IN(\"password\", \"access_token\")) and .value != null then .value = \"…\" else . end)' | eval \"$(git config --get filter.truncate-mac-address-to-24-bits.clean)\"
+	clean = jq '.data.entries[].data |= with_entries(if (.key | IN(\"password\", \"access_token\", \"noise_psk\")) and .value != null then .value = \"…\" else . end)' | eval \"$(git config --get filter.truncate-mac-address-to-24-bits.clean)\"
 	smudge = cat
 	required = true