@camstack/addon-provider-dreo 0.1.1 → 0.1.3
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.
- package/dist/addon.js +12 -1
- package/dist/addon.mjs +12 -1
- package/package.json +3 -7
package/dist/addon.js
CHANGED
|
@@ -4664,7 +4664,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4664
4664
|
return inst;
|
|
4665
4665
|
}
|
|
4666
4666
|
//#endregion
|
|
4667
|
-
//#region ../types/dist/sleep-
|
|
4667
|
+
//#region ../types/dist/sleep-DVmKHFGi.mjs
|
|
4668
4668
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4669
4669
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4670
4670
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -6464,6 +6464,17 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
6464
6464
|
DeviceRole["HumiditySensor"] = "humidity-sensor";
|
|
6465
6465
|
DeviceRole["AmbientLightSensor"] = "ambient-light-sensor";
|
|
6466
6466
|
DeviceRole["PressureSensor"] = "pressure-sensor";
|
|
6467
|
+
/** Wind speed or direction (weather-station `wind-sensor` cap). */
|
|
6468
|
+
DeviceRole["WindSensor"] = "wind-sensor";
|
|
6469
|
+
/** Rain accumulation or rate (weather-station `rain-sensor` cap). */
|
|
6470
|
+
DeviceRole["RainSensor"] = "rain-sensor";
|
|
6471
|
+
/** UV index (weather-station `uv-sensor` cap). */
|
|
6472
|
+
DeviceRole["UvSensor"] = "uv-sensor";
|
|
6473
|
+
/** Solar irradiance W/m² (weather-station `solar-radiation-sensor` cap).
|
|
6474
|
+
* Distinct from AmbientLightSensor (lux). */
|
|
6475
|
+
DeviceRole["SolarRadiationSensor"] = "solar-radiation-sensor";
|
|
6476
|
+
/** Soil moisture % (garden/weather `soil-moisture-sensor` cap). */
|
|
6477
|
+
DeviceRole["SoilMoistureSensor"] = "soil-moisture-sensor";
|
|
6467
6478
|
DeviceRole["PowerSensor"] = "power-sensor";
|
|
6468
6479
|
DeviceRole["EnergySensor"] = "energy-sensor";
|
|
6469
6480
|
DeviceRole["VoltageSensor"] = "voltage-sensor";
|
package/dist/addon.mjs
CHANGED
|
@@ -4665,7 +4665,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4665
4665
|
return inst;
|
|
4666
4666
|
}
|
|
4667
4667
|
//#endregion
|
|
4668
|
-
//#region ../types/dist/sleep-
|
|
4668
|
+
//#region ../types/dist/sleep-DVmKHFGi.mjs
|
|
4669
4669
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4670
4670
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4671
4671
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -6465,6 +6465,17 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
6465
6465
|
DeviceRole["HumiditySensor"] = "humidity-sensor";
|
|
6466
6466
|
DeviceRole["AmbientLightSensor"] = "ambient-light-sensor";
|
|
6467
6467
|
DeviceRole["PressureSensor"] = "pressure-sensor";
|
|
6468
|
+
/** Wind speed or direction (weather-station `wind-sensor` cap). */
|
|
6469
|
+
DeviceRole["WindSensor"] = "wind-sensor";
|
|
6470
|
+
/** Rain accumulation or rate (weather-station `rain-sensor` cap). */
|
|
6471
|
+
DeviceRole["RainSensor"] = "rain-sensor";
|
|
6472
|
+
/** UV index (weather-station `uv-sensor` cap). */
|
|
6473
|
+
DeviceRole["UvSensor"] = "uv-sensor";
|
|
6474
|
+
/** Solar irradiance W/m² (weather-station `solar-radiation-sensor` cap).
|
|
6475
|
+
* Distinct from AmbientLightSensor (lux). */
|
|
6476
|
+
DeviceRole["SolarRadiationSensor"] = "solar-radiation-sensor";
|
|
6477
|
+
/** Soil moisture % (garden/weather `soil-moisture-sensor` cap). */
|
|
6478
|
+
DeviceRole["SoilMoistureSensor"] = "soil-moisture-sensor";
|
|
6468
6479
|
DeviceRole["PowerSensor"] = "power-sensor";
|
|
6469
6480
|
DeviceRole["EnergySensor"] = "energy-sensor";
|
|
6470
6481
|
DeviceRole["VoltageSensor"] = "voltage-sensor";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-dreo",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Dreo smart-device (fan / air-circulator / purifier / heater / humidifier) device-provider addon for CamStack — wraps the @apocaliss92/nodedreo Dreo cloud client (REST + WebSocket)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
|
@@ -73,16 +73,12 @@
|
|
|
73
73
|
"test": "vitest run",
|
|
74
74
|
"publish": "npm publish --access public"
|
|
75
75
|
},
|
|
76
|
-
"peerDependencies": {
|
|
77
|
-
"@camstack/types": "*",
|
|
78
|
-
"zod": "^4.3.6"
|
|
79
|
-
},
|
|
80
76
|
"devDependencies": {
|
|
77
|
+
"@apocaliss92/nodedreo": "file:./vendor/apocaliss92-nodedreo-0.1.0.tgz",
|
|
81
78
|
"@camstack/types": "*",
|
|
82
79
|
"typescript": "~6.0.3",
|
|
83
80
|
"vite": "^8.0.11",
|
|
84
81
|
"vitest": "^2.0.0",
|
|
85
|
-
"zod": "^4.3.6"
|
|
86
|
-
"@apocaliss92/nodedreo": "file:./vendor/apocaliss92-nodedreo-0.1.0.tgz"
|
|
82
|
+
"zod": "^4.3.6"
|
|
87
83
|
}
|
|
88
84
|
}
|