Alexa.HumiditySensor interface in your Alexa add-on for devices that sense humidity, such as thermostats. Typically you use the Alexa.HumiditySensor interface in conjunction with the Alexa.TemperatureSensor interface. For more details about smart home add-ons, see Connect Your Device Cloud with Smart Home Add-ons.
For the list of languages that the Alexa.HumiditySensor interface supports, see List of Alexa Interfaces and Supported Languages. For the definitions of the Alexa message properties, see Alexa Interface Message and Property Reference.
Utterances
TheAlexa.HumiditySensor interface doesn’t have any user utterances.
Reportable properties
TheAlexa.HumiditySensor interface uses the relativeHumidity property as the primary property. You identify that you support the property in your discovery response. The property is defined as a number (double) between 0 and 100, inclusive.
Discovery
You describe endpoints that support theAlexa.HumiditySensor interface by 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 a display category that’s appropriate for your device, such as TEMPERATURE_SENSOR. For the full list of display categories, see display categories.
Sensor devices must also implement Alexa.EndpointHealth.
Discover response example
The following example shows anAlexa.Discover.Response message for a device that supports the Alexa.HumiditySensor interface.
Directives
TheAlexa.HumiditySensor 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 the 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 anAlexa.ChangeReport 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.

