Files
bmspy/tests
tim 3bc86b85a2 Compare the newest readings in bmspy-ups
The loop compared the current reading with history[1], history[2], and history[3]. The history holds the oldest reading first, so these were three of the oldest readings. A plain power failure sent no email, and the shutdown started 4 minutes late. The loop now uses the three readings before the current one.

Four tests used reading sequences that matched the old comparison. They now use plain sequences.
2026-10-10 10:59:35 +02:00
..
2026-05-02 23:12:29 +02:00
2026-05-02 23:12:29 +02:00
2026-10-10 10:59:34 +02:00
2026-05-02 23:12:29 +02:00
2026-05-02 23:12:29 +02:00