Skip to content

v1.3.1

Choose a tag to compare

@Bobsilvio Bobsilvio released this 07 Feb 18:55
· 23 commits to main since this release

v1.3.1 - TOU Range Fix & Robustness

Italiano:

  • Risolto problema di visualizzazione range numerico TOU: slider ora mostra 0-23 ore anziché 0-100
  • Aggiunto clamping automatico per limitare valori fuori range
  • Ricreazione forzata entità al riavvio tramite unique_id versioning

Changelog da v1.1.5:

Miglioramenti di Robustezza:

  • Aggiunto retry logic con backoff esponenziale su errori transitori (401, 429, 5xx, timeout)
  • Timeout centralizzati (30s totale, 10s connessione) e costanti HTTP in const.py
  • Differenziazione errori: token invalido, rate limit, server error, connection timeout

Supporto Modalità Tariffazione (TOU):

  • Aggiunta Modalità 2 "Tariffazione" con Time-of-Use pricing
  • Service epcube.set_tou_schedule per configurare fascie orarie
  • Tariffe differenziate giorni lavorativi/non-lavorativi + daylight saving time

Interfaccia UI TOU:

  • 8 sensori diagnostici per visualizzare orari (formato HH:00-HH:00)
  • 6 number entities con slider 0-23 per orari
  • Selezione giorni attivi

Localizzazione & Bug Fix:

  • Italian translations complete (170+ campi)
  • Corretto case-sensitivity field names
  • Rimosso duplicati translations.py

v1.3.1 - TOU Range Fix & Robustness

English:

  • Fixed TOU number entity range display issue: sliders now show 0-23 hours instead of 0-100
  • Added automatic value clamping to limit out-of-range inputs
  • Forced entity recreation on restart through unique_id versioning

Changelog from v1.1.5:

Robustness Improvements:

  • Added exponential backoff retry logic on transient errors (401, 429, 5xx, timeout)
  • Centralized timeouts (30s total, 10s connection) and HTTP constants in const.py
  • Error differentiation: invalid token, rate limit, server error, connection timeout

Tariffication Mode Support (TOU):

  • Added Mode 2 "Tariffazione" with Time-of-Use pricing support
  • Service epcube.set_tou_schedule to configure time slots (peak, mid-peak, off-peak)
  • Differentiated rates for workdays/non-workdays + daylight saving time support

TOU UI Interface:

  • 8 diagnostic sensors to visualize configured schedules (HH:00-HH:00 format)
  • 6 number entities with 0-23 sliders for individual hour editing
  • Active days selection for workday/non-workday tariffs

Localization & Bug Fixes:

  • Complete Italian translations for 170+ API fields
  • Fixed case-sensitivity on field names
  • Removed duplicate entries in translations.py