Right now, the max_staleness for non-future sensors defaults to PT0H ("immediate staleness after knowledge time", see data/services/sensors.py:get_status_specs).
The consequence is that we show red lights a bit too eagerly, I believe. Hovering over a red traffic light (even green ones) says "More than a moment old". This should be more informative.
I suggest changing the default to adding 2 times the resolution.
Right now, the
max_staleness
for non-future sensors defaults toPT0H
("immediate staleness after knowledge time", see data/services/sensors.py:get_status_specs).The consequence is that we show red lights a bit too eagerly, I believe. Hovering over a red traffic light (even green ones) says "More than a moment old". This should be more informative.
I suggest changing the default to adding 2 times the resolution.