v1.0.1
🇮🇹 Release notes (Italiano) — v1.0.1
✨ Novità
➕ Aggiunta la soglia CRITICAL oltre alla soglia WARNING per una gestione più precisa dello stato batterie.
🧾 Migliorata la configurazione: le soglie ora usano un selettore sempre con valore visibile (input numerico con unità %). (#2)
🧩 Aggiornate le traduzioni e le stringhe UI per includere i nuovi campi (in particolare critical_threshold).
🛠️ Correzioni
✅ Sistemato strings.json: ora è un JSON valido (compatibile con validator HACS/Hassfest).
✅ Sistemato manifest.json: chiavi ordinate correttamente secondo le regole Hassfest.
✅ Aggiunto CONFIG_SCHEMA in init.py per validazione Hassfest (integrazione configurabile solo via UI).
🖼️ Migliorata la gestione immagini: supporto alla copia automatica da custom_components/battery_monitor/images a www/images/battery_monitor (quando presenti).
📌 Note
Dopo l’aggiornamento è consigliato un riavvio di Home Assistant per ricaricare traduzioni e opzioni.
🇬🇧 Release notes (English) — v1.0.1
✨ New
➕ Added a CRITICAL threshold in addition to the WARNING threshold for more accurate battery status handling.
🧾 Improved configuration UI: thresholds now use a selector where the value is always visible (numeric input with % unit). (#2)
🧩 Updated UI strings/translations to include the new fields (especially critical_threshold).
🛠️ Fixes
✅ Fixed strings.json: now a valid JSON file (HACS/Hassfest compatible).
✅ Fixed manifest.json: keys sorted correctly according to Hassfest rules.
✅ Added CONFIG_SCHEMA in init.py to satisfy Hassfest validation (config-entry only integration).
🖼️ Improved image handling: automatic copy from custom_components/battery_monitor/images to www/images/battery_monitor (when images are present).
📌 Notes
A Home Assistant restart is recommended after updating to reload translations and options.