@texturehq/device 1.17.0 → 1.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thermostat.d.ts","sourceRoot":"","sources":["../../src/deviceState/thermostat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B;;;GAGG;AACH,eAAO,MAAM,uBAAuB,4DAA6D,CAAC;AAClG,eAAO,MAAM,2BAA2B;;;;;;;EAAkC,CAAC;AAC3E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAElF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,wDAAyD,CAAC;AACxF,eAAO,MAAM,qBAAqB;;;;;;EAA4B,CAAC;AAC/D,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEtE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;iBAgChC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"thermostat.d.ts","sourceRoot":"","sources":["../../src/deviceState/thermostat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B;;;GAGG;AACH,eAAO,MAAM,uBAAuB,4DAA6D,CAAC;AAClG,eAAO,MAAM,2BAA2B;;;;;;;EAAkC,CAAC;AAC3E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAElF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,wDAAyD,CAAC;AACxF,eAAO,MAAM,qBAAqB;;;;;;EAA4B,CAAC;AAC/D,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEtE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;iBAgChC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;iBAyCtC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -24,7 +24,7 @@ exports.ThermostatStateSchema = v4_1.z.object({
|
|
|
24
24
|
* The current operating mode of the thermostat.
|
|
25
25
|
* @example "heat"
|
|
26
26
|
*/
|
|
27
|
-
operatingMode: exports.ThermostatOperatingModeEnum,
|
|
27
|
+
operatingMode: exports.ThermostatOperatingModeEnum.describe("The current operating mode of the thermostat."),
|
|
28
28
|
/**
|
|
29
29
|
* The current target temperature for the cooling function in degrees Fahrenheit.
|
|
30
30
|
* @example 74
|
|
@@ -45,43 +45,46 @@ exports.ThermostatStateSchema = v4_1.z.object({
|
|
|
45
45
|
* The current fan mode of the thermostat.
|
|
46
46
|
* @example "auto"
|
|
47
47
|
**/
|
|
48
|
-
fanMode: exports.ThermostatFanModeEnum,
|
|
48
|
+
fanMode: exports.ThermostatFanModeEnum.describe("The current fan mode of the thermostat."),
|
|
49
49
|
});
|
|
50
50
|
exports.ThermostatStaticStateSchema = v4_1.z.object({
|
|
51
51
|
/**
|
|
52
52
|
* Operating modes supported by this thermostat.
|
|
53
53
|
* @example ["heat", "cool", "auto", "off"]
|
|
54
54
|
*/
|
|
55
|
-
allowedModes: v4_1.z.array(exports.ThermostatOperatingModeEnum),
|
|
55
|
+
allowedModes: v4_1.z.array(exports.ThermostatOperatingModeEnum).describe("Operating modes supported by this thermostat."),
|
|
56
56
|
/**
|
|
57
57
|
* Minimum heat setpoint temperature in Fahrenheit.
|
|
58
58
|
* @example 50
|
|
59
59
|
*/
|
|
60
|
-
minHeatSetpoint: v4_1.z.number().int().optional(),
|
|
60
|
+
minHeatSetpoint: v4_1.z.number().int().optional().describe("Minimum heat setpoint temperature in degrees Fahrenheit."),
|
|
61
61
|
/**
|
|
62
62
|
* Maximum heat setpoint temperature in Fahrenheit.
|
|
63
63
|
* @example 90
|
|
64
64
|
*/
|
|
65
|
-
maxHeatSetpoint: v4_1.z.number().int().optional(),
|
|
65
|
+
maxHeatSetpoint: v4_1.z.number().int().optional().describe("Maximum heat setpoint temperature in degrees Fahrenheit."),
|
|
66
66
|
/**
|
|
67
67
|
* Minimum cool setpoint temperature in Fahrenheit.
|
|
68
68
|
* @example 50
|
|
69
69
|
*/
|
|
70
|
-
minCoolSetpoint: v4_1.z.number().int().optional(),
|
|
70
|
+
minCoolSetpoint: v4_1.z.number().int().optional().describe("Minimum cool setpoint temperature in degrees Fahrenheit."),
|
|
71
71
|
/**
|
|
72
72
|
* Maximum cool setpoint temperature in Fahrenheit.
|
|
73
73
|
* @example 90
|
|
74
74
|
*/
|
|
75
|
-
maxCoolSetpoint: v4_1.z.number().int().optional(),
|
|
75
|
+
maxCoolSetpoint: v4_1.z.number().int().optional().describe("Maximum cool setpoint temperature in degrees Fahrenheit."),
|
|
76
76
|
/**
|
|
77
77
|
* Supported fan modes.
|
|
78
78
|
* @example ["auto", "on", "circulate"]
|
|
79
79
|
*/
|
|
80
|
-
allowedFanModes: v4_1.z.array(exports.ThermostatFanModeEnum),
|
|
80
|
+
allowedFanModes: v4_1.z.array(exports.ThermostatFanModeEnum).describe("Fan modes supported by this thermostat."),
|
|
81
81
|
/**
|
|
82
82
|
* Extended capabilities for additional features (scheduling, deadband, mode-specific constraints, etc.).
|
|
83
83
|
* Flexible structure for future expansion without schema migrations.
|
|
84
84
|
*/
|
|
85
|
-
extendedCapabilities: v4_1.z
|
|
85
|
+
extendedCapabilities: v4_1.z
|
|
86
|
+
.record(v4_1.z.string(), v4_1.z.unknown())
|
|
87
|
+
.optional()
|
|
88
|
+
.describe("Extended capabilities including scheduling support, deadband settings, and mode-specific temperature constraints. Flexible structure for manufacturer-specific features."),
|
|
86
89
|
});
|
|
87
90
|
//# sourceMappingURL=thermostat.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thermostat.js","sourceRoot":"","sources":["../../src/deviceState/thermostat.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAE3B;;;GAGG;AACU,QAAA,uBAAuB,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,CAAU,CAAC;AACrF,QAAA,2BAA2B,GAAG,MAAC,CAAC,IAAI,CAAC,+BAAuB,CAAC,CAAC;AAG3E;;;GAGG;AACU,QAAA,iBAAiB,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,CAAU,CAAC;AAC3E,QAAA,qBAAqB,GAAG,MAAC,CAAC,IAAI,CAAC,yBAAiB,CAAC,CAAC;AAGlD,QAAA,qBAAqB,GAAG,MAAC,CAAC,MAAM,CAAC;IAC5C;;;OAGG;IACH,kBAAkB,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,gDAAgD,CAAC;IACzF;;;OAGG;IACH,aAAa,EAAE,mCAA2B;
|
|
1
|
+
{"version":3,"file":"thermostat.js","sourceRoot":"","sources":["../../src/deviceState/thermostat.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAE3B;;;GAGG;AACU,QAAA,uBAAuB,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,CAAU,CAAC;AACrF,QAAA,2BAA2B,GAAG,MAAC,CAAC,IAAI,CAAC,+BAAuB,CAAC,CAAC;AAG3E;;;GAGG;AACU,QAAA,iBAAiB,GAAG,CAAC,MAAM,EA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