Generic thermostat where temp presets can be defined by UI, and survive restart

Referring to this thread, i’d like a virtual thermostat where the preset temperature setpoints are not defined in the configuration.yaml.
I suggest that all temperature setpoints are hard-coded to a temperature level, and the changes you do to these by UI after initial installation are stored (and will survive a restart).
If you for some reason need to exclude some of the presets in configuration, it could be a true/false variable for this?