Fix H2D print commands and HMS notification issues

Issue #245: H2D Pro print errors (extrusion motor overloaded)
- H2D series requires integer format (0/1) for boolean fields
- Other printers (X1C, P1S, A1) require actual booleans (true/false)
- Added model detection to use correct format per printer type
- Affected fields: timelapse, bed_leveling, flow_cali, vibration_cali,
  layer_inspect, use_ams

Closes #245
This commit is contained in:
maziggy
2026-02-05 07:26:30 +01:00
parent 6890c16efd
commit 87cf0e83e9
2 changed files with 13 additions and 7 deletions
-1
View File
@@ -38,7 +38,6 @@ ignore = [
"SIM108", # ternary operator (readability preference)
"SIM102", # nested if (readability preference)
"SIM105", # contextlib.suppress (readability preference)
"UP038", # isinstance tuple syntax (readability preference)
]
# Allow autofix for all enabled rules