mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 11:12:35 +02:00
Fix Applied: 1. Added supports_chamber_temp() helper function that returns True only for X1/X1C/X1E, P2S, and H2 series 2. Modified printer_state_to_dict() to filter out chamber, chamber_target, chamber_heating from temperatures for unsupported models 3. Added model caching in PrinterManager so we can look up the model without a database query 4. Updated all callers (main.py, websocket.py) to pass the model The chamber temperature widget will now simply not appear for P1S/P1P/A1/A1Mini printers since the temperatures.chamber field won't be sent to the frontend.