Files
Mitchell Malpartida 59a61e0c26 Preserve a saved Moonraker printer's model when another preset is selected (#17969)
When a saved Moonraker printer connected, the agent used the model of the selected printer preset. Selecting saved printer A while printer B's preset was selected gave A the model of B, filament sync saved that model to A's entry, and a later sync with A's own preset warned about a model mismatch.

The agent now uses the saved entry's model when the entry belongs to the same agent, matched to a vendor model by model id or name. Connections with no saved entry still use the selected preset. The new init_device_model() has AppConfig and PresetBundle parameters, so the regression test runs without a GUI app.

(cherry picked from commit f11840579d)
2026-12-02 13:24:23 -06:00
..