POST /thermostats/set_fallback_climate_preset ⇒ void
Request
await seam.thermostats.setFallbackClimatePreset({
device_id: "123e4567-e89b-12d3-a456-426614174000",
climate_preset_key: "eco",
});
Response
Request
seam.thermostats.set_fallback_climate_preset(
device_id="123e4567-e89b-12d3-a456-426614174000", climate_preset_key="eco"
)
Response
Request
seam.thermostats.set_fallback_climate_preset(device_id: "123e4567-e89b-12d3-a456-426614174000", climate_preset_key: "eco")
Response
Request
<?php
$seam->thermostats->set_fallback_climate_preset(
device_id: "123e4567-e89b-12d3-a456-426614174000",
climate_preset_key: "eco"
);
Response
Request
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
Climate preset key of the desired climate preset.
ID of the desired thermostat device.