The grid (core) ยท console.warn
a 'history' shadow's time window needs a positive 'span' (ms) or 'minutes'; it had none, so it reported the original, unwindowed history.
Printed by The grid (core), prefixed [lattice], since 1.50.0.
Warnings reference › shadow.history.window.span:*
- Identifier
shadow.history.window.span:*- Raised by
- The grid (core)
- Since
- 1.50.0
What happened
The window is a time window and has no usable length, so there is nothing to bucket the readings into. The shadow reports its full history instead.
The fix
Give the window a positive span in milliseconds, or minutes.
Reference
Covered in full at the API reference.