Setting "Device's internal settings" from script


I have a few thermostats which i can change regulator mode on via the internal settings from (e.g) floor to air+floor regulator, and also settings attached to these settings.

There are times where i miss having the capabillety to change these with automations (e.g pseudo: cheap power prices, boost floortemperatur to max, expensive prices regulate to keep nice room temp).

I know i can make these myself by choosing floor regulator, but the above mentioned is only an example, there might also be more scenarioers where this option is preferable.

Is there a way to access and change these settings from Homey Script?

If so, any examplecode?