await seam.thermostats.simulate.temperatureReached({
device_id: "278a72ba-7deb-45e3-a0c0-573fd360ee7b",
temperature_celsius: 25,
});
/*
// void
*/{}Simulations
Temperature Reached
Simulates a thermostat reaching a specified temperature. Only applicable for sandbox devices. See also Testing Your Thermostat App with Simulate Endpoints.
POST
/
thermostats
/
simulate
/
temperature_reached
await seam.thermostats.simulate.temperatureReached({
device_id: "278a72ba-7deb-45e3-a0c0-573fd360ee7b",
temperature_celsius: 25,
});
/*
// void
*/{}Authorizations
api_keypat_with_workspaceconsole_session_with_workspace
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
ID of the thermostat device that you want to simulate reaching a specified temperature.
Temperature in °C that you want simulate the thermostat reaching. You must set temperature_celsius or temperature_fahrenheit.
Temperature in °F that you want simulate the thermostat reaching. You must set temperature_fahrenheit or temperature_celsius.
Response
OK
The response is of type object.
Was this page helpful?