Set a Fallback Climate Preset
POST /thermostats/set_fallback_climate_preset ⇒ voidSets a specified climate preset as the "fallback" preset for a specified thermostat.
Request
await seam.thermostats.setFallbackClimatePreset({
device_id: "123e4567-e89b-12d3-a456-426614174000",
climate_preset_key: "eco",
});Response
// voidRequest
seam.thermostats.set_fallback_climate_preset(
device_id="123e4567-e89b-12d3-a456-426614174000", climate_preset_key="eco"
)Response
NoneRequest
seam.thermostats.set_fallback_climate_preset(
device_id: "123e4567-e89b-12d3-a456-426614174000",
climate_preset_key: "eco",
)Response
nilRequest
<?php
$seam->thermostats->set_fallback_climate_preset(
device_id: "123e4567-e89b-12d3-a456-426614174000",
climate_preset_key: "eco"
);Response
nullRequest
seam thermostats set-fallback-climate-preset --device_id "123e4567-e89b-12d3-a456-426614174000" --climate_preset_key "eco"Response
{}Request
package main
import api "github.com/seamapi/go"
func main() {
client.Thermostats.SetFallbackClimatePreset(
context.Background(),
api.ThermostatsSetFallbackClimatePresetRequest{
DeviceId: api.String("123e4567-e89b-12d3-a456-426614174000"),
ClimatePresetKey: api.String("eco"),
},
)
}Response
nilAuthentication Methods
API key
Personal access token Must also include the
seam-workspaceheader in the request.
Request Parameters
climate_preset_key
climate_preset_keyType: string Required: Yes
Climate preset key of the desired climate preset.
device_id
device_idType: string Required: Yes
ID of the desired thermostat device.
Return Type
void
Last updated
Was this helpful?

