@riddix/hamh 2.1.0-alpha.429 → 2.1.0-alpha.431
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/backend/cli.js
CHANGED
|
@@ -146220,8 +146220,8 @@ var init_fan = __esm({
|
|
|
146220
146220
|
FanDeviceFeature2[FanDeviceFeature2["OSCILLATE"] = 2] = "OSCILLATE";
|
|
146221
146221
|
FanDeviceFeature2[FanDeviceFeature2["DIRECTION"] = 4] = "DIRECTION";
|
|
146222
146222
|
FanDeviceFeature2[FanDeviceFeature2["PRESET_MODE"] = 8] = "PRESET_MODE";
|
|
146223
|
-
FanDeviceFeature2[FanDeviceFeature2["
|
|
146224
|
-
FanDeviceFeature2[FanDeviceFeature2["
|
|
146223
|
+
FanDeviceFeature2[FanDeviceFeature2["TURN_ON"] = 16] = "TURN_ON";
|
|
146224
|
+
FanDeviceFeature2[FanDeviceFeature2["TURN_OFF"] = 32] = "TURN_OFF";
|
|
146225
146225
|
})(FanDeviceFeature || (FanDeviceFeature = {}));
|
|
146226
146226
|
}
|
|
146227
146227
|
});
|
|
@@ -169567,7 +169567,7 @@ var config8 = {
|
|
|
169567
169567
|
if (brightness != null) {
|
|
169568
169568
|
return brightness / 255;
|
|
169569
169569
|
}
|
|
169570
|
-
return
|
|
169570
|
+
return null;
|
|
169571
169571
|
},
|
|
169572
169572
|
moveToLevelPercent: (brightnessPercent) => ({
|
|
169573
169573
|
action: "light.turn_on",
|