import { s } from "../schema.js"; import { defineInterface } from "../types.js"; /** The value is an object, { value: 45.5 }, as the reports of alexa-humiditysensor.html print it. */ export const HumiditySensor = defineInterface({ namespace: "Alexa.HumiditySensor", version: "3", doc: "https://developer.amazon.com/docs/alexaplus/device-apis/alexa-humiditysensor.html", kind: "sensor", tier: 1, instanced: false, properties: { relativeHumidity: { name: "relativeHumidity", value: s.object({ value: s.number({ min: 0, max: 100 }) }) }, }, directives: {}, });