v0.1.13
Bug fix
Fix lookback_days rejected by WebSocket API (ws_fetch_outliers)
The fetch_outliers WebSocket command was rejecting any message that included a lookback_days field with:
extra keys not allowed @ data['lookback_days']. Got <value>
The underlying scan_outliers() function already supported lookback_days (converting it to a start_ts cutoff), but the voluptuous schema on the WebSocket handler did not declare the field. HA's @websocket_command decorator validates with PREVENT_EXTRA, so the field was rejected before the handler ran.
lookback_days is now accepted as an optional integer (≥ 0, default 0) and passed through to scan_outliers(), consistent with the existing service call interface.
Note
I used Claude Code for some of these changes