mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 03:01:21 +02:00
Follow-up to the earlier H2D SD card badge fix. The badge was still flapping because Bambu firmwares send partial MQTT pushes carrying only the legacy `sdcard` field (without home_flag), and the fallback path re-engaged on every such push. Latch home_flag as the canonical source once seen; reset the latch on reconnect so a firmware change still re-learns.