Alexa.TemperatureSensor interface in your Alexa add-on for devices that sense the current temperature, such as thermostats. Typically you use the Alexa.TemperatureSensor interface in conjunction with the Alexa.ThermostatController interface. For more details about smart home add-ons, see Connect Your Device Cloud with Smart Home Add-ons.
If you want to sense the current temperature of a cooking appliance, such as an oven, use the Alexa.Cooking.TemperatureSensor interface instead. If you want to sense the current temperature of a food that is cooking, use the Alexa.Cooking.FoodTemperatureSensor interface instead.
For the list of languages that the Alexa.TemperatureSensor interface supports, see List of Alexa Interfaces and Supported Languages. For the definitions of the message properties, see Alexa Interface Message and Property Reference.
Utterances
TheAlexa.TemperatureSensor interface doesn’t have any user utterances.
Reportable properties
TheAlexa.TemperatureSensor interface uses temperature as the primary property. The property is defined as a temperature.
Discovery
You describe endpoints that supportAlexa.TemperatureSensor using the standard discovery mechanism described in Alexa.Discovery.
Set retrievable to true for the properties that you report when Alexa sends your add-on a state report request. Set proactivelyReported to true for the properties that you proactively report to Alexa in a change report.
Use TEMPERATURE_SENSOR for the display category. For the full list of display categories, see display categories.
Sensor devices must also implement Alexa.EndpointHealth.
Discover response example
The following example shows aDiscover.Response message for a thermostat that supports the Alexa.TemperatureSensor and Alexa.ThermostatController interfaces. In this example, the endpoint is a dual-setpoint thermostat, with three modes, and that doesn’t support scheduling.
Directives
TheAlexa.TemperatureSensor interface doesn’t define any directives.
State reporting
Alexa sends aReportState directive to request information about the state of an endpoint. When Alexa sends a ReportState directive, you send a StateReport event in response. The response contains the current state of all retrievable properties in the context object. You identify your retrievable properties in your discovery response. For details about state reports, see Understand State and Change Reporting.
StateReport response example
Change reporting
You send aChangeReport event to report changes proactively in the state of an endpoint. You identify the properties that you proactively report in your discovery response. For details about change reports, see Understand State and Change Reporting.

