When editing device settings, if the device identification isn't a valid JavaScript identifier, the settings fail to save. This affects all settings on the "Device" page.
This appears to happen because the device identifier appears to be interpolated directly into a JavaScript function around line 1089 where it converts the temperature thresholds to Celsius:
The form still appears to submit, but because the JavaScript never actually runs and performs its own POST, the configuration doesn't get saved.