Эх сурвалжийг харах

filter "home-assistant-{config-entries,device-registry}": also shorten ntfy topics

Home Assistant generates ntfy topics of 16 characters (the observed one consisted of [A-Za-z0-9]; the exact character set is not verified). Keeping 6 characters leaves 10 hidden, i.e. about 60 bits for [A-Za-z0-9], 52 bits for [a-z0-9] and still 40 bits even for hex, so at least as much as the truncated TTN device EUIs, Matter fabric IDs and Matter device IDs.

At the same time, 6 characters followed by "…" are long enough to find the topic with `git grep -wF` without false matches.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fabian Peter Hammerle 2 долоо хоног өмнө
parent
commit
24bc04800b
1 өөрчлөгдсөн 0 нэмэгдсэн , 0 устгасан
  1. 0 0
      gitconfig

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
gitconfig


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно