Skip to content

Commit bcb29de

Browse files
committed
Fix DEDUPE_TIME_WINDOW type in web config schema to float
The config loader was changed from getint to getfloat to accept fractional seconds (commit 9ff9f0d), but the web configuration editor schema still declared the key as integer. Update to float with min=0 so the editor renders a decimal input. https://claude.ai/code/session_01AaF4EqZPib3pmM44w8DJXD
1 parent c69bc2e commit bcb29de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/astrameter/web_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def _pm(**extras: dict[str, object]) -> dict[str, dict[str, object]]:
274274
"CT002": {
275275
"UDP_PORT": {"type": "integer"},
276276
"WIFI_RSSI": {"type": "integer"},
277-
"DEDUPE_TIME_WINDOW": {"type": "integer"},
277+
"DEDUPE_TIME_WINDOW": {"type": "float", "min": 0},
278278
"CONSUMER_TTL": {"type": "integer"},
279279
"DEBUG_STATUS": {"type": "boolean"},
280280
"ACTIVE_CONTROL": {"type": "boolean"},

0 commit comments

Comments
 (0)